CORD.go is a Golang library that provides a collection of classes and methods to interact with the Cord blockchain network.
To build the SDK and see changes, follow these steps:
-
Clone this repository to your local machine:
git clone <repository_url> cd <repository_directory>
-
Install dependencies:
Make sure that subkey command line utility is installed and added to $PATH variable, for detailed installation guide
go get
cd demo go get
Once the SDK is built, you can experiment with the provided methods.
The demo-statement
method allows you to interact with statement-related functionalities.
To run the statement demo, execute the following command:
cd demo
go run main.go
The output of each demo script will demonstrate the functionality of the corresponding method. For a detailed structure of the demo scripts, refer to the source code.