The Four Agreements:
Be Impeccable With Your Word
Don't Take Anything Personally
Don't Make Assumptions
Always Do Your Best
This walkthough will create an enviroment for development with grin locally.
Note:
chain_typein yourgrin-wallet.tomlandgrin-node.tomlare set toUserTestingwhich means that you will run a grin blockchain local to your computer.run_test_mineris set totrueto mine coins. If you're interested in mining on floonet or mainnet check out grin-miner.
Extract grin and grin-wallet
./grin --usernet
./chain_datais responsible for housing the blockchaingrin-server.logoutput of the grin process
change run_test_miner from false to true
uncomment test_miner_wallet_url
edit test_miner_wallet_url port to {{grin-wallet.toml}}.owner_api_listen_port
e.g.
#test miner wallet URL (burns if this doesn't exist)
test_miner_wallet_url = "http://127.0.0.1:3420"
./grin-wallet --usernet init
Follow the prompts
./wallet_datawallet informationgrin-wallet.logoutput of the grin wallet process.api_secretsecret for encrypting traffic between thegrinandgrin-wallet.owner_api_secretsecret for encrypting owner (and foreign) api traffic
./grin-wallet --usernet owner_api --run_foreign
The grin-wallet --usernet --run_foreign owner_api command will start both the owner and foreign api listeners on the owner api port