This project is a monorepo for the Arbazaar core protocol
and official Arbazaar front-end ui
implementation.
The ui
repo is synced with https://arbazaar.pages.dev.
https://arbazaar.io is the canonical alias of https://arbazaar.pages.dev.
Add pnpm
:
npx pnpm add -g pnpm
Install packages:
npx pnpm i
First, start a local JSON-RPC serve:
npx pnpm run protocol:node
Then, deploy the contracts on your local Hardhat chain:
npx pnpm run protocol:dev
Lastly, send yourself some local ETH to play with:
npx hardhat --network localhost faucet <address>
The above command must be run within the protocol/
directory. Be sure to replace <address>
with your Ethereum address.
Compile the contracts:
npx pnpm run protocol:build
Deploy on Arbitrum One:
npx pnpm run protocol:one
Deploy on Arbitrum Rinkeby testnet:
npx pnpm run protocol:rinkeby
npx pnpm run ui:dev
npx pnpm run ui:build
npx pnpm run ui:preview