Skip to content

alto-io/opg-scaffold

Repository files navigation

🏗 OP Games Scaffold (based on scaffold-eth-typescript)

Starting the App

Running the app

  1. install your dependencies, open a new command prompt

    yarn install
  2. start a local hardhat node (chain)

    anvil
  3. Run the app, open a new command prompt terminal

    # in a new terminal
    # compile your contracts
    yarn compile
    # deploy your hardhat contracts
    yarn deploy
    # start the next-js app
    yarn start
  4. Open http://localhost:3000 to see your front end

Foundry

Make sure you install foundry

  1. Make sure you install foundry first. Use curl -L https://foundry.paradigm.xyz | bash to install foundryup

    You can see more details here. https://book.getfoundry.sh/getting-started/installation

  2. Run yarn install:foundry to install or update foundry in the right folder. It will also run forge install automatically with the right context.

You can use foundry commands with the right context

yarn forge
yarn anvil
yarn cast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published