# Developing with Remix, Ethers.js and Web3.js

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.

### Remix:

Use "Injected Web3" in Remix and [configure Metamask](https://docs.meter.io/wallet-setup/interacting-with-meter-mainnet-using-metamask) properly to deploy on Meter.

Meter also supports ethers.js and web3.js through the RPC endpoints.

## Using Ethers.js

In order to get started with the ethers.js library we first need to install it using the following command:

```
npm install ethers
```

Once this has been completed the simplest way to start using the library and its' methods is as follows:

```
const ethers = require('ethers');

// Variables definition
const privKey = '0xPRIVKEY';

// Define Provider
let provider = new ethers.providers.JsonRpcProvider('RPC_URL');

// Create Wallet
let wallet = new ethers.Wallet(privKey, provider);
```

Please remember to replace the PRIVKEY and RPC\_URL with the correct values.

### Using Web3.js

You can get started with the web3.js library by installing it with the following command:

```
npm install web3
```

Once this has been completed the simplest way to start using the library and its' methods is as follows:

```
const Web3 = require('web3');

//Create web3 instance
const web3 = new Web3('RPC_URL');
```

Please remember to set the `RPC_URL` to the correct RPC endpoint.

### RPC End Points

Mainnet: `https://rpc.meter.io`

Warringstakes Testnet: `https://rpctest.meter.io`

Private Node: `http://`*`node_ip`*`:8545`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meter.io/developer-documentation/interacting-with-meter-with-remix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
