4.3 Performing Sanity Checks
After setting up your node, it's crucial to perform some sanity checks to ensure everything is working correctly. Let's go through the process of creating a token and checking balances.
Creating a Test Tok (costs gas)
Open a new terminal tab and submit your first transaction by creating a token:
Once the batch is submitted, you should see output containing the transaction hash. For example:
Use this transaction hash to query the REST API endpoint and fetch events belonging to the transaction:
Replace the transaction hash with the one from your output.
You should see output similar to:
Note the token_id
in the output. You'll need this for checking balances.
Checking Balances (Gasless)
In a new terminal tab, run an RPC query to check the balance of your address:
Replace TOKEN_ID
with the actual token ID and ADDRESS
with the address you want to check.
You should see a response similar to:
this confirms that your address has received the newly created tokens.
By completing these sanity checks, you've verified that your node can create tokens, submit transactions, and query balances. This indicates that your Spicenet validator node is set up correctly and functioning as expected.
Submitting Test Transactions
Generate a test transaction:
Submit the transaction:
Replace YOUR_ADDRESS
with your actual address.
Verify the transaction by checking balances again.
By following these steps, you should now have a configured and running Spicenet validator node. Remember to regularly check for updates and maintain your node's security and performance.
Last updated