0.9.0 • Published 10 months ago

@cuonghx.gu-tech/contracts v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@gu-nft-marketplace/contracts

Description

This project contains all smart contracts used for the G.U.NFT marketplace. This includes:

  • core exchange contract
  • libraries
  • currency manager contract
  • execution manager and strategy contracts
  • royalty-related contracts
  • transfer managers and selector contracts

It also contains a peripheral contract (OrderValidatorV1) that is used to verify the validity of (maker) orders.

Installation

# Yarn
yarn add  @gu-nft-marketplace/contracts

# NPM
npm install @gu-nft-marketplace/contracts

Deployments

Initialize

  • sub-modules
git submodule update --init --recursive
  • dependencies
yarn

Test

yarn test

Deploy

  • Modify .env in scripts/deploy
  • Deploy
yarn deploy # hardhat node
yarn deploy --network gusandbox # gusandbox

Verify contracts

npx hardhat verify --network gusandbox <address> <params>
0.9.0

10 months ago