This demo demonstrates how to interact with the Theta Ledger through the RPC API interface.
To run the demo, first follow the steps in the setup guide to launch a local private net.
Then, import the project under theta-api-demo
with VS Code, and use Maven to install the dependencies.
Or, import the project under javascript-nodejs-demo
with VS Code, and use NPM or YARN to install the dependencies.
Then, we can run the demo in the VS Code IDE, it should execute the API calls and print out the API responses.