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_type
in yourgrin-wallet.toml
andgrin-node.toml
are set toUserTesting
which means that you will run a grin blockchain local to your computer.run_test_miner
is set totrue
to mine coins. If you're interested in mining on floonet or mainnet check out grin-miner.
Extract grin and grin-wallet
./grin --usernet
./chain_data
is responsible for housing the blockchaingrin-server.log
output 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_data
wallet informationgrin-wallet.log
output of the grin wallet process.api_secret
secret for encrypting traffic between thegrin
andgrin-wallet
.owner_api_secret
secret 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