Skip to content

Latest commit

 

History

History
91 lines (57 loc) · 1.21 KB

README.md

File metadata and controls

91 lines (57 loc) · 1.21 KB

arbazaar

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.

Setup

Add pnpm:

npx pnpm add -g pnpm

Install packages:

npx pnpm i

Protocol

Develop

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.

Build

Compile the contracts:

npx pnpm run protocol:build

Deploy

Deploy on Arbitrum One:

npx pnpm run protocol:one

Deploy on Arbitrum Rinkeby testnet:

npx pnpm run protocol:rinkeby

UI

Develop

npx pnpm run ui:dev

Build

npx pnpm run ui:build

Preview

npx pnpm run ui:preview

License

MIT