Skip to content

Arbitrum-native NFT marketplace with staking for fees.

License

Notifications You must be signed in to change notification settings

natclark/arbazaar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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