Developing with Remix, Ethers.js and Web3.js
Last updated
Was this helpful?
Last updated
Was this helpful?
Ethereum developers are able to use Remix to compile and debug code for Meter. The current EVM version for Meter is Istanbul. MTR is used instead of ETH in Ethereum.
Use "Injected Web3" in Remix and properly to deploy on Meter.
Meter also supports ethers.js and web3.js through the RPC endpoints.
In order to get started with the ethers.js library we first need to install it using the following command:
Once this has been completed the simplest way to start using the library and its' methods is as follows:
Please remember to replace the PRIVKEY and RPC_URL with the correct values.
You can get started with the web3.js library by installing it with the following command:
Once this has been completed the simplest way to start using the library and its' methods is as follows:
Please remember to set the RPC_URL
to the correct RPC endpoint.
Mainnet: https://rpc.meter.io
Warringstakes Testnet: https://rpctest.meter.io
Private Node: http://
node_ip
:8545