/mevcube-contracts

Smart contracts controlling the mevcube puzzle

Primary LanguageJavaScript

mevcube-contracts

Contracts for https://mevcube.xyz

Frontend here: https://github.com/andrewaarestad/mevcube-frontend

About

This repository contains the mevcube contract which defines a single instance of a puzzle and methods to solve it.

Deployment

To deploy to the local Hardhat network for development testing,

  • Start Hardhat network: hh node
  • Deploy with NPM script: npm run deploy-to-local-hh

To deploy to Mumbai network,

  • Run node scripts/deploy-to-network.js
  • Deploy with NPM script: npm run deploy-to-mumbai