https://github.com/acalanetwork/bodhi.js
https://github.com/acalanetwork/bodhi.js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/acalanetwork/bodhi.js
- Owner: AcalaNetwork
- License: apache-2.0
- Created: 2020-11-18T22:43:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-14T03:09:02.000Z (2 months ago)
- Last Synced: 2025-03-31T11:04:35.101Z (about 2 months ago)
- Language: TypeScript
- Size: 65.7 MB
- Stars: 34
- Watchers: 9
- Forks: 21
- Open Issues: 92
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Acala EVM+ SDKs
[](https://codecov.io/github/AcalaNetwork/bodhi.js)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:
- [bodhi.js](./packages/bodhi)
- [eth-providers](./packages/eth-providers)
- [eth-rpc-adapter](./packages/eth-rpc-adapter)
- [evm-subql](./packages/evm-subql)## 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/ 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](https://hub.docker.com/r/acala/eth-rpc-adapter/tags)
- evm subquery
- build locally: `docker build . -t evm-subql-local -f packages/evm-subql/Dockerfile`
- [public docker images](https://hub.docker.com/r/acala/evm-subql/tags)## More References
- Most of JSON-RPC methods provided by [eth-rpc-adapter](./packages/eth-rpc-adapter/) are compatible with standard [ETH JSON-RPC](https://ethereum.org/en/developers/docs/apis/json-rpc/), for more details please checkout [available RPCs](./packages/eth-rpc-adapter/README.md#available-rpcs).
- Most of the APIs of [eth-providers](./packages/eth-providers/) is compatible with [ethers.js](https://docs.ethers.io/v5/single-page/) providers.### CI
To release new NPN packages then first bump versions and commit.
Use `prerelease` for beta releases
```
yarn bump
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
```