Sign inSign up

cryptocurrencydev/3dcoin

By cryptocurrencydev

Updated over 6 years ago

3D Coin CryptoCurrency Wallet. Provides WALLET and MASTERNODE Modes. READ THE README

Image
0

1.3K

cryptocurrencydev/3dcoin repository overview

3DCoin Wallet for Docker

3dcoin has a few operational requirements. In the table below you can see how this template performs and what resorces it is consuming. Unless otherwise stated all performance is based on a single core allocation

CPU SpeedMemory UsedDisk ConsumedSynced SizeIs Pruned?Github HashBlock Height at Press
42 Mhz88 Mb1.26 Gb1.26 GbFalseGithub Commit977738

Help and Support

If you need any further support please use the table below to find a suitable medium.

You can our help and support services to submit requests for coins to be added to our collection, every attempt will be made to accomadate everyone, and if your in a rush, we offer a paid creation service for a small fee, templates can be generated and added in little to no time.

Support is provided on a best effort basis, our templates are not for everyone, although everyone can learn to use them, they are build to provide a basic feature set.

Has this template been of use to you? Please consider making a small donation to any of the addresses below

WalletAddress
Bitcoinbc1qcrc056llalnq8230pkdwcp3n54ka0nt9phtyfq
LitecoinMSrCoHeWKBjLwFajBNPFiq7tyaB8oAqy1Q

Environment variables

This image uses environment variables for configuration, by default any environment variables that are not passed at runtime are will result in the random string being used. Where this behavior will happen is marked with ** otherwise, default values are displayed.

MandatoryAvailable variablesDefault valueDescriptionExampleZ
trueTypeNo defaultRuntime ModeType=Wallet
falseRPC_USER** Random StringRPC Username for connectionsRPC_USER=SomeLongUsername
falseRPC_PASSWORD** Random StringRPC Password for connectionsRPC_PASSWORD=SomeLongComplexPass
falseRPC_ALLOW_IP127.0.0.1Allow RPC Connections fromRPC_ALLOW_IP=127.0.0.1
falseRPC_CONNECT_IP127.0.0.1Allow RPC connections fromRPC_CONNECT_IP=127.0.0.1
falseRPC_PORT1500RPC Port for remote connectionsRPC_PORT=1500
falsePORT3000Default wallet portPORT=3000
falseMASTERNODE_PRIV_KEYNoneMasternode Private KeyMASTERNODE_PRIV_KEY=PrivateKey
falseEXTERNAL_IPNoneExternal IP Address for MasternodeEXTERNAL_IP=5.5.4.5
falseMASTERNODE_PORTNoneMasternode PortMASTERNODE_PORT=14443
falseCOLLATERAL_TXNoneMasternode collateral transaction idCOLLATERAL_TX=asdsad7218937jhJKGHJGj....
falseCOLLATERAL_INDEXNoneMasternode collateral transaction numberCOLLATERAL_INDEX=1

VOLUMES and MOUNTS

The container includes a VOLUME mount point, this is defined by us at creation time, however, it can be used to map files directly to your local OS, allowing for a simplified backup and restoration process

By default the map is defined as VOLUME ['/root/.3dcoin']

To use this mount point you should define it at run-time see table below for examples

PlatformExample Command
Linux-v /home/user/3dcoin:/root/.3dcoin
MAC OSX-v /home/user/3dcoin:/root/.3dcoin
Windows-v C:\3dcoin:/root/.3dcoin

If the volume and mount are used and defined at runtime you will be able to locate the files for the blockchain, configs, and wallet.dat in the folder you defined above.

Backing Up Wallet

    We assume you use the startup commands in out example so make changes as needed 

To backup your wallet you simply need to stop the wallet with

    docker stop 3dcoin

Now you just navigate to your local volume map /home/user/3dcoin or E:\3dcoin, and zip up all the files you want to keep and backup.

Restoring Wallet

By default you after a problem, you can simply start the container afresh and remember to use the -v options to define the volume mount point, at wallet startup those files will be read and used, allowing for a near-instant restoration of an existing wallet

To restore a wallet, use the example commands below to start a new instance of the service, once started stop the container with

    docker stop 3dcoin

And navigate to the local volume map (eg: /home/user/3dcoin or E:/3dcoin) and replace the wallet.dat with your backup and delete all other files within.

Thats it, now just start the container

    docker start 3dcoin

It can take a little while for the blockchain to sync and your wallet to update, be paitent.

Can i use a blockchain backup?

Yes you can, however we DO NOT recomend it, the wallets require a blockchain with TXINDEX=1, we always recomend you download and process the blockchain yourself, this is why our images do not provide a blockchain built in.

How to use the wallet

Start a simple wallet only
    docker run -dti -e Type=Wallet cryptocurrencydev/3dcoin:latest --name=3dcoin
Start a simple wallet with volume
    docker run -dti -e Type=Wallet -v E:/3dcoin:/root/.3dcoin cryptocurrencydev/3dcoin:latest --name=3dcoin
Start a more advanced wallet with RPC and volume
    docker run -dti \
        -e Type=Wallet \
        -e RPC_USER=alkdjaklfjwoifw89 \
        -e RPC_PASSWORD=12983012831029 \
        -e RPC_PORT=1500 \
        -e RPC_ALLOW_IP=192.168.1.64 \
        -e RPC_CONNECT_IP=192.168.1.64 \
        -v E:/3dcoin:/root/.3dcoin \
        cryptocurrencydev/3dcoin:latest \
        --name=3dcoin

How to user Masternode

Running masternodes is not for everyone, this template was built for a specific platform, Nodemasters, they are highly optimized for that platform and hosting type, as such they may not be suitable for you.

We highly recommend you start a basic masternode container and use docker exec to explore the environment and make sure it's compatible with your needs before attempting a wide scale deployment

ALL MASTERNODE SERVICES REQUIRE AT LEAST 3 ENVIRONMENT VARIABLES, THE EXAMPLES BELOW ALL SHOW THE MINIMUM REQUIREMENTS

Remember in addition, masternodes typically require a static public IP, this must be mapped at runtime or the masternode will not be activatable by remote

Start a basic masternode
    docker run -dti \
        -e Type=Masternode \
        -e MASTERNODE_PRIV_KEY=MasternodePrivateKey \
        -e MASTERNODE_PORT=MasternodePort \
        -e EXTERNAL_IP=PublicIPAddress \
        -e COLLATERAL_TX=TransactionId \
        -e COLLATERAL_INDEX=0 \
        -p PublicIPAddress:MASTERNODE_PORT:MASTERNODE_PORT \
        cryptocurrencydev/3dcoin:latest \
        --name=3dcoin        
Start a basic masternode with volume
    docker run -dti \
        -e Type=Masternode \
        -e MASTERNODE_PRIV_KEY=MasternodePrivateKey \
        -e MASTERNODE_PORT=MasternodePort \
        -e EXTERNAL_IP=PublicIPAddress \
        -e COLLATERAL_TX=TransactionId \
        -e COLLATERAL_INDEX=0 \
        -v E:/3dcoin:/root/.3dcoin \
        -p PublicIPAddress:MASTERNODE_PORT:MASTERNODE_PORT \
        cryptocurrencydev/3dcoin:latest \
        --name=3dcoin        
Start an advanced masternode with volume and RPC
    docker run -dti \
        -e Type=Masternode \
        -e MASTERNODE_PRIV_KEY=MasternodePrivateKey \
        -e MASTERNODE_PORT=MasternodePort \
        -e EXTERNAL_IP=PublicIPAddress \
        -e COLLATERAL_TX=TransactionId \
        -e COLLATERAL_INDEX=0 \
        -e RPC_USER=alkdjaklfjwoifw89 \
        -e RPC_PASSWORD=12983012831029 \
        -e RPC_PORT=1500 \
        -e RPC_ALLOW_IP=192.168.1.64 \
        -e RPC_CONNECT_IP=192.168.1.64 \
        -v E:/3dcoin:/root/.3dcoin \
        -p PublicIPAddress:MASTERNODE_PORT:MASTERNODE_PORT \
        cryptocurrencydev/3dcoin:latest \
        --name=3dcoin        

Nodemasters

Nodemasters is a proven masternode hosting provider, making it faster and easier than any other provider to deploy a masternode, if you can find a faster deployment, we'll give you your first month free

A Typical Hosting plan for 3D Coin is shown below

Package TypeFeature ListFrom
Masternode Litededicated ip 1 CPU 1gb ram up to 10gb disk£1 Per Month
Masternode Prodedicated ip 1 CPU 1gb ram up to 10gb disk * HA£1.50 Per Month
Masternode ManagedFully managed service 100% Uptime guarantee£2.00 Per Month

*HA High Availability is a redundant service using a single IP, no single hardware failure will cause downtime

Technical Data

Template OSTemplate ImageGithub URLBuild Command
Ubuntu 16.04ubuntu:16.04Github./configure --without-gui --with-incompatible-bdb
ModeEnabledSetting
PruneFalse

Tag summary

Content type

Image

Digest

Size

553.4 MB

Last updated

over 6 years ago

docker pull cryptocurrencydev/3dcoin