Skip to content

Latest commit

 

History

History

nouns-webapp

@nouns/webapp

This package contains the source for the Nouns webapp at nouns.wtf.

Quickstart

From the base of the nouns-monorepo

In the first shell:

# Install all dependencies and build contract artifacts
yarn
# Switch to nouns-contracts
cd packages/nouns-contracts
# Start local simnet
yarn task:run-local

In the second shell:

# Switch to nouns-webapp
cd packages/nouns-webapp
# Copy local example environment file
cp .env.example.local .env
# Start local development
yarn start-local or yarn start

MetaMask

Interact with the local simnet by importing the following private key into MetaMask. Do not use this private key anywhere else

Private Key:
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

Then add an RPC provider to MetaMask to point to your local simnet.

  1. Navigate to settings

  2. Select Networks

  3. Click Add Network

  4. Enter the following:

     Network Name: Hardhat
     New RPC URL: http://localhost:8545
     Chain ID: 31337
    

Select the network and connect to your local Nouns webapp to interact with simnet

Issues

If you are experiencing typescript issues, try navigating to tsconfig.json and commenting our src from the includes list.