Start infra-keychain and infra-node
NOTE - You can skip this step and use the InfraBlockchain-Antelope testnet instead of a local testnet
Step 1: Boot Node and Wallet
Step 1.1: Start infra-keychain
First let us start infra-keychain:
You should see some output that looks like this:
Press enter to continue
Step 1.2: Start infra-node
Start infra-node now:
These settings accomplish the following:
Run infra-node. This command loads all the basic plugins, set the server address, enable CORS and add some contract debugging and logging.
Enable CORS with no restrictions (*) and development logging
In the above configuration, CORS is enabled for *
for development purposes only, you should never enable CORS for *
on a node that is publicly accessible!
Troubleshooting
If in the previous step, after starting infra-node
, you see an error message similar to "Database dirty flag set (likely due to unclean shutdown): replay required" try to start infra-node
with --replay-blockchain
. More details on troubleshooting infra-node
Step 2: Check the installation
Step 2.1: Check that infra-node is Producing Blocks
Run the following command
You should see some output in the console that looks like this:
Press ctrl + c
to close the log
Step 2.2: Check the Wallet
Open the shell and run the infra-cli
command to list available wallets. We will talk more about wallets in the future. For now, we need to validate the installation and see that the command line client infra-cli
is working as intended.
You should see a response with an empty list of wallets:
From this point forward, you'll be executing commands from your local system (Linux or Mac)
Step 2.3: Check infra-node endpoints
This will check that the RPC API is working correctly, pick one.
Check the
get_info
endpoint provided by thechain_api_plugin
in your browser: http://localhost:8888/v1/chain/get_infoCheck the same thing, but in the console on your host machine
What's Next?
Create Test Accounts: Learn how to create test accounts in the InfraBlockchain-Antelope along with troubleshooting steps.
Last updated