Near-One / near-erc20-connector

A connector to Rainbow Bridge that allows sending $NEAR to Ethereum as an ERC-20 token (eNEAR)
Apache License 2.0
11 stars 7 forks source link

near-erc20-connector

A connector for the Rainbow Bridge that allows sending $NEAR to Ethereum which is then minted as an ERC-20 token (eNEAR)

eNear Ethereum smart contracts

Go to eNear directory:

cd eNear

This is a Hardhat + yarn project.

To install the dependencies:

yarn

Compile contracts using:

yarn compile

To run tests:

yarn test

or

yarn coverage

Hardhat scripts

The eNear contract can be deployed with the following command:

yarn hardhat deploy-enear

This command takes the following command line arguments: