Skip to content

AcalaNetwork/bodhi.js

Repository files navigation

Acala EVM+ SDKs

codecov

These are some tools and SDKs related to Acala EVM+. It also contains some examples about how to interact with EVM+ with these tools.

Packages:

Getting Started

  • install all dependencies
yarn
  • build
yarn build

Run Tests

  • clean up
docker compose down -v
  • start a chopsticks acala fork as the test node
docker compose up
  • run tests
yarn workspace @acala-network/<pkg-name> run test:coverage

Docker Images

  • eth-rpc-adapoter
    • build locally: docker build . -t eth-rpc-local -f packages/eth-rpc-adapter/Dockerfile
    • public docker images
  • evm subquery
    • build locally: docker build . -t evm-subql-local -f packages/evm-subql/Dockerfile
    • public docker images

More References

CI

To release new NPN packages then first bump versions and commit. Use prerelease for beta releases

yarn bump <patch, minor, major, prerelease>
git add .
git commit -m "bump v2.x.x"

To release docker images then tag the commit and push. Use manual workflow_dispatch for beta releasees

git tag v2.x.x
git push --atomic origin master v2.x.x