OffchainLabs / arb_reddit_community_points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arb-Reddit Points Benchmarks

Setup

  • Launch arb validator

  • Add env variables to .env files; to use sample values, run cp .env.sample .env

  • Edit .env and add required values:

    • ETH_PROVIDER_URL: Ethereum (Layer 1) node / RPC provider url
    • ARB_PROVIDER_URL: Arbitrum aggregator / RPC provider url
    • ROLLUP_ADDRESS: Arbitrum chain address
    • MNEMONIC: MNEMONIC phrase for main ETH account (does not need to be prefunded)
  • Install dependencies: yarn install

  • Deploy contracts: yarn run deploy

Dev actions

  • Run benchmarks: yarn run benchmarks
  • Launch UI: yarn run ui_dev
  • Generate "request tokens" twitter response yarn run generate_response 0xyouraddresss (outputts url to toking claiming route in UI)

About


Languages

Language:TypeScript 78.3%Language:JavaScript 19.9%Language:HTML 1.8%