Goacoin Wallet Daemon for headless wallets and masternodes.
551
goacoind)Goacoin Wallet Daemon for headless wallets and masternodes. :palm_tree:
The container can either be used as a classic headless wallet or a masternode, only the command arguments will differ.
rpcuser and rpcpassword to interact with the Goacoin daemon:docker run lepetitbloc/goacoind --name goacoin -rpcuser=goacoinrpc -rpcpassword=4VvDhcoqFUcZbmkWUMJz8P443WLfoaMmiREKSByJaT4j
We recommend to mount a volume for easier access to the data and the configuration files. You should also create a configuration for your RPC credentials (see
wallet/conf/wallet.conf) to avoid retyping them when using the internalgoacoin-cli.docker run lepetitbloc/goacoind --name goacoin -v ./goacoin:/home/goacoin/`
:snake: Ensure that a
datadirectory exists and is writable in the mounted host directory.
docker exec -d goacoin goacoin-cli getaccountaddress ""
GK92mbjS9bCAUuU7DEyyuK9US1qLqkoyce
You can use
pwgenfirst to generate your passphrase:pwgen 32 1quohd4kaw9guvi8ie7phaighawaiLoo6
docker exec -d goacoin goacoin-cli encryptwallet quohd4kaw9guvi8ie7phaighawaiLoo6
Wallet encrypted; GoaCoin Core server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.
:ocean: Don't forget to backup your passphrase.
Note1: If the 1000 GOA came from multiple transactions, you can send them back to yourself.
Note2: Beware of the transaction cost, you should own 1001 GOA as a safety measure.
hash and index :docker exec -d goacoin goacoin-cli masternode outputs
{ "8e835a7d867d335434925c32f38902268e131e99a5821557d3e77f8ca3829fd8" : "0" }
masternode genkey
7ev3RXQXYfztreEz8wmPKgJUpNiqkAkkdxt24C3ZKtg5qEVfou9
./goacoin/conf/masternode.conf file, and fill in following this template:
mn01 masternode:21529 YouMasterNodePrivateKey TransactionHash 0 YourWalletAddress:100
touch ./goacoin/conf/masternode.conf
masternode/conf/wallet.conf configuration filerpcuser=goacoinrpc
rpcpassword=4VvDhcoqFUcZbmkWUMJz8P443WLfoaMmiREKSByJaT4j
docker run lepetitbloc/goacoind --name masternode -v ./masternode:/home/goacoin/ -masternode=1 -masternodeprivkey=YourMasternodePrivKey -addnode=54.37.74.53
docker exec -d masternode goacoin-cli getinfo
You could setup both at the same time using docker-compose.
Check the provided docker-compose.yml as an example and tweak it to your needs!
docker-compose up --build
This project is part of the walletd initiative:
https://github.com/LePetitBloc/walletd
FROM lepetitbloc/bdb:5.3.28.NCMIT
Content type
Image
Digest
Size
185.1 MB
Last updated
about 8 years ago
docker pull lepetitbloc/goacoind