for devnet, qanet use <VERSION>-dev and <VERSION>-qa respectivly
Generating the docs
make docs
Using the provider
cd examples/resources/singlenode
export MNEMONIC="mnemonic words"
export NETWORK="network" # dev, qa, test, main
terraform init && terraform apply # creates resources defined in main.tf
terraform destroy # destroy the created resource
Detailed docs for resources and their arguments can be found in the docs.
Building The Provider (for development only)
make
Run tests
export MNEMONIC="mnemonic words"
export NETWORK="network" # dev, qa, test, main
Unit tests
make unittests
Integration tests
make integration
if you want to run one test use:
cd integrationtests
go test . -run <TestNameFunction> -v --tags=integration
go test . -run <TestNameFunction/SubFunctionName> -v --tags=integration #for testing only one sub-function