Author and test the smart contracts. Produce ABIs as build artefacts for other services.
- Contract source and tests
- Deployment scripts and configuration per environment
- Publishing ABIs (and optionally bytecode) for clients
- Out: ABIs published as build or release artefacts
- In: Chain RPC (devnet/testnet/mainnet)
- web-app consumes ABIs for read-only decoding; writes go via backend-api
- backend-api uses ABIs to encode/decode on-chain calls and events
- deploy stores runbooks/manifests that reference deployed addresses
src/Solidity contractstest/unit/integration testsscripts/deployment scriptsout/build outputs (ignored unless noted)
- Install the chosen toolchain (e.g. Foundry or Hardhat)
- Build and run tests locally
- On release, publish ABIs as artefacts
- On PR/push: build & test
- On tag (release): upload ABIs as release artefacts for
web-appandbackend-api
- Tag contract releases (e.g.
contracts-v0.1.0) - Record deployed addresses per environment
Report vulnerabilities privately to the maintainers. Do not disclose before a coordinated fix.