Development environment
Prerequisites¶
First ensure you have Go 1.20+ and Python 3.8+ installed. Note: you only need python installed if you are editing the python code under python-client directory. You will also need to clone the repo.
Package setup¶
The codebase is split into to chunks: a JSON RPC and Python client. The Python client is isolated to python-client directory.
Go RPC¶
Assuming you have installed Go, navigate to the root of the repo.
You can build the Go binary by running make build. make lint will run golangci-lint to lint the code. You can run all the unit tests through make test or make dev-test. 
Before committing and submitting a PR, please run the following:
- make dev-test
- make integ-test
Python Client¶
Navigate to python-client. Make changes as needed.
Before committing and submitting a PR, please run the following:
- make build-iatk-service
- make init
- make unit-test
- make contract-test
  
    
      Last update:
      2023-11-09