This repo contains documentation and demos to facilitate Theta mainnet integration. To learn more about the Theta Network, please visit the Theta documentation site: https://docs.thetatoken.org/
The documentation is organized under the docs directory.
-
Setup: The setup guide provides the instructions to build and install the Theta Ledger on a Linux machine, and lauch a local private net for testing.
-
CMD Tool: The command line tool guide illustrates how to interact with the Theta ledger through the Theta command line interface.
-
Testnet/Mainnet: The testnet and mainnet integration guide contain the steps for launching a Theta node and connect to the testnet and mainnet, respectively.
-
RPC API: The API reference lists the RPC APIs of the Theta ledger.
-
Explorer API: The Explorer API reference lists the APIs provided by the Theta Explorer.
-
Configuration: The configuration guide provides details on the configuration of the Theta ledger.
The demos directory contains the following integration examples:
-
keypair: The keypair demo is a Java program which demonstrates how to quickly generate key pairs (private key and the corresponding address) in batches.
-
tx: We have provided the tx demo in both Java and JavaScript. It demonstrates: 1) how to construct a transaction, 2) how to sign and serialize a transaction offline, and 3) how to broadcast the signed transaction to the Theta ledger.
-
api: The api demo is a Java program which shows how to interact with the Theta ledger through its RPC interface.