- python3 (ecdsa, requests, flask)
cp development/fullchain_init.json blockchain/fullchain.json
export CHAIN_ENDPOINT=http://127.0.0.1:8080
export MINER_ENDPOINT=http://127.0.0.1:9090
python3 blockchain/fullchain.py
from wallet.wallet import Wallet
wallet = Wallet('<wallet_file_name>', True, '<wallet_name>')
export CHAIN_ENDPOINT=http://ec2-54-254-131-32.ap-southeast-1.compute.amazonaws.com:8080
python3 kickoff_chain.py
cp development/mempool_database_init.json miner/mempool_database.json
export CHAIN_ENDPOINT=http://127.0.0.1:8080
export MINER_ENDPOINT=http://127.0.0.1:9090
export MINER_WALLET_ADDRESS=<wallet_pubKey>
python3 miner/miner.py
# published endpoint of chain service
export CHAIN_ENDPOINT=http://ec2-54-254-131-32.ap-southeast-1.compute.amazonaws.com:8080
# published endpoint of miner service
export MINER_ENDPOINT=http://ec2-54-254-131-32.ap-southeast-1.compute.amazonaws.com:9090
from wallet.wallet import Wallet
wallet = Wallet('<wallet_file_name>', True, '<wallet_name>')
wallet.register_wallet()
from wallet.wallet import Wallet
wallet = Wallet('<wallet_file_name>')
wallet.get_wallet_data()
# all wallets
curl ${CHAIN_ENDPOINT}/wallets
from wallet.wallet import Wallet
wallet = Wallet('<wallet_file_name>')
wallet.send_coin('<other_wallet_pubKey>', <coin_amount>)