Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
add evm dev tools list
Browse files Browse the repository at this point in the history
  • Loading branch information
Aki Wu committed Nov 10, 2022
1 parent e7c06e5 commit 37e6447
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/builder/ethereum-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar_position: 105

DVM(Darwinia Virtual Machine) is fully compatible with EVM (Ethereum Virtual Machine) in Darwinia Network.

You can use `web3.js` or other ethereum libs to interact with Darwinia using Ethereum compactible RPC api.
You can use `web3.js` or other [ethereum tools](#dev-tools) to interact with Darwinia using Ethereum compactible RPC api.

## RPC List

Expand Down Expand Up @@ -85,4 +85,24 @@ It is particularly important to note that CSC's genesis block does not start at

The author(miner) of the ethereum block you get from `eth_getBlockByNumber()` or `eth_getBlockByHash()` is the last 20 bytes of the actual substrate block author. It's because the ethereum block is built based on substrate block and who's author is a 32-bytes address. We have to truncate to adapt ethereum block needs. **Please do not tranfer to the ethereum block author, since the private key of this address is unknown.**

## Dev Tools

Darwinia is EVM-compatiable, so your can use almost all toolchains for EVM. Here are some of our picks:

Wallets:

- [MetaMask](https://metamask.io/)

Libraries:

* [web3.js](https://github.com/web3/web3.js)
* [ethers.js](https://github.com/ethers-io/ethers.js)

Contract Libraries:

* [OpenZeppelin](https://openzeppelin.com/)

Dev Environment:

* [Remix](https://remix.ethereum.org/)
* [Hardhat](https://hardhat.org/)

0 comments on commit 37e6447

Please sign in to comment.