Here are some QoL tools used by the framework.
compile_contracts.py
A proof of concept script to conveniently compile solidity source and generate golang bindings.
Run with python3 ./tools/compile_contracts.py
This will:
- Install a local version of
hardhat
- Use
hardhat
to compile solidity source code
- Use
abigen
to generate golang bindings for the compiled contracts
- Cleanup
hardhat
installation and files
external_adapter.go
A simple external adapter implementation for local chainlink nodes to interact with. Used for local testing.
Basic import for the ginkgo test framework.