-
Notifications
You must be signed in to change notification settings - Fork 78
start_a_wallet_by_docker
Please download Docker firstly
after downloading and installing, you can use docker --version
to make sure whether success or not
use following command
docker pull gxbdevelop/cli-wallet
if you see these, that download successfully
latest: Pulling from gxbdevelop/cli-wallet
Digest: sha256:2af8be6cb7385eabcc6a55db2423524500b4e70ed8872237cc6d541f67272400
Status: Downloaded newer image for gxbdevelop/cli-wallet:latest
cd gxb-cli-wallet
{
"chain_id": "",
"my_accounts": [],
"cipher_keys": "",
"extra_keys": [],
"pending_account_registrations": [],
"pending_witness_registrations": [],
"labeled_keys": [],
"blind_receipts": [],
"ws_server": "",
"ws_user": "",
"ws_password": ""
}
docker run -e ws_server='wss://node15.gxb.io' -e rpc_endpoint='0.0.0.0:8091' -e data_dir='trust_node' -e wallet_file='wallet.json' -p 8091:8091 --name="gxb-cli-wallet" cli-wallet
ws_server:witness node rpc endpoint
rpc_endpoint:cli-wallet rpc endpoint, in docker, we can just use port 8091
data_dir:Directory containing databases, for cli_wallet write logs
wallet_file:wallet json file