Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.05 KB

README.md

File metadata and controls

52 lines (40 loc) · 1.05 KB

RMRK EVM Demo

Project Structure

The project has three main folders:

  • contracts
  • scripts
  • ui

contracts

The contracts folder contains the smart contracts for RMRK EVM Demo. It makes use of @rmrk-team/evm-contracts library.

Note: Since the contracts in the package seems to be of size greater than 24.4 KB, allowUnlimitedContractSize is set to true.

scripts

The scripts folder contains the script to deploy to deploy the contracts as well as create a .env file for the ui.

ui

The ui folder is the user interface built in next.

Run Locally

Clone the Repository

git clone https://github.com/prajwolrg/rmrk-evm-demo.git

Install dependencies

npm i

Install dependencies of of UI

cd ui
npm i

Start hardhat instance

npx hardhat node

In a new terminal, deploy the contracts

npx hardhat run scripts/deploy.js --network localhost

Start the UI

cd ui
yarn start