Run Nodeos. 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
DANGER
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
After starting nodeos, if you see an error message similar to "Database dirty flag set (likely due to unclean shutdown): replay required", try to start nodeos with --replay-blockchain. More details on troubleshooting nodeos can be found here.
Step 2: Check the installation
Step 2.1: Check that Nodeos is Producing Blocks
Run the following command
tail-fnodeos.log
You should see some output in the console that looks like this:
info2023-05-04T07:58:58.016nodeoschain_plugin.cpp:527operator() ]Supportforbuiltinprotocolfeature'FIX_LINKAUTH_RESTRICTION' (with digestof'e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526') is enabled with preactivation requiredinfo2023-05-04T07:58:58.028nodeoschain_plugin.cpp:637operator() ]Saveddefaultspecificationforbuiltinprotocolfeature'FIX_LINKAUTH_RESTRICTION' (with digestof'e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526') to: /nodeos/./data/protocol_features/BUILTIN-FIX_LINKAUTH_RESTRICTION.jsoninfo2023-05-04T07:58:58.029nodeoschain_plugin.cpp:527operator() ]Supportforbuiltinprotocolfeature'REPLACE_DEFERRED' (with digestof'ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99') is enabled with preactivation requiredinfo2023-05-04T07:58:58.042nodeoschain_plugin.cpp:637operator() ]Saveddefaultspecificationforbuiltinprotocolfeature'REPLACE_DEFERRED' (with digestof'ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99') to: /nodeos/./data/protocol_features/BUILTIN-REPLACE_DEFERRED.jsoninfo2023-05-04T07:58:58.043nodeoschain_plugin.cpp:527operator() ]Supportforbuiltinprotocolfeature'NO_DUPLICATE_DEFERRED_ID' (with digestof'4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f') is enabled with preactivation requiredinfo2023-05-04T07:58:58.055nodeoschain_plugin.cpp:637operator() ]Saveddefaultspecificationforbuiltinprotocolfeature'NO_DUPLICATE_DEFERRED_ID' (with digestof'4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f') to: /nodeos/./data/protocol_features/BUILTIN-NO_DUPLICATE_DEFERRED_ID.jsoninfo2023-05-04T07:58:58.056nodeoschain_plugin.cpp:527operator() ]Supportforbuiltinprotocolfeature'ONLY_LINK_TO_EXISTING_PERMISSION' (with digestof'1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241') is enabled with preactivation requiredinfo2023-05-04T07:58:58.069nodeoschain_plugin.cpp:637operator() ]Saveddefaultspecificationforbuiltinprotocolfeature'ONLY_LINK_TO_EXISTING_PERMISSION' (with digestof'1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241') to: /nodeos/./data/protocol_features/BUILTIN-ONLY_LINK_TO_EXISTING_PERMISSION.jsoninfo2023-05-04T07:58:58.070nodeoschain_plugin.cpp:540operator() ]Supportforbuiltinprotocolfeature'PREACTIVATE_FEATURE' (with digestof'0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd') is enabled without activation restrictionsinfo2023-05-04T07:58:58.082nodeoschain_plugin.cpp:637operator() ]Saveddefaultspecificationforbuiltinprotocolfeature'PREACTIVATE_FEATURE' (with digestof'0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd') to: /nodeos/./data/protocol_features/BUILTIN-PREACTIVATE_FEATURE.json
Let the nodeos run until the output looks like this and blocks become synchronized.
If you want to stop nodeos, run command pkill nodeos .
After this, before you start nodeos, remove the line of --snapshot configuration from the bash file. Then you can rerun nodeos.
Step 2.2: Check the Wallet
Open the shell and run the cleos 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 cleos is working as intended.
cleoswalletlist
You should see a response with an empty list of wallets:
Wallets:[]
From this point forward, you'll be executing commands from your local system (Linux or Mac).
Step 2.3: Check Nodeos endpoints
This will check that the RPC API is working correctly, pick one.
Check the get_info endpoint provided by the chain_api_plugin in your browser: http://localhost:8888/v1/chain/get_info
Check the same thing, but in the console on your host machine
curlhttp://localhost:8888/v1/chain/get_info
What's Next?
Create Test Accounts: Learn how to create test accounts in the VEXANIUM blockchain along with troubleshooting steps.