Skip to content

agkkkkk/aptos-nft-marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NFT Marketplace

Features

  • List Tokens
  • Delist Tokens
  • Buy listed tokens
  • Initialize token auction
  • Bid for tokens
  • Cancel auction
  • Claim auctioned token

Getting Started

NOTE: To run the program tou need to have aptos CLI installed.

Installation

  1. Clone the repository
git clone https://github.com/agkkkkk/aptos-nft-marketplace.git
  1. Go to the project directory and initialize aptos account and update Move.toml
cd aptos-nft-marketplace
aptos init
  1. Compile the module:
aptos move compile --named-addresses marketplace=<MARKETPLACE-ADDRESS>,owner=<OWNER-ADDRESS>,treasury=<TREASURY-ADDRESS>
  1. Publish module
aptos move publish --named-addresses marketplace=<MARKETPLACE-ADDRESS>,owner=<OWNER-ADDRESS>,treasury=<TREASURY-ADDRESS>

Example:

aptos move publish --named-addresses marketplace=0x5d862ec05d9a74478f08a0143d8de3d108c307f61d4f7f1411384553f6c27d55,owner=0xd4f2987ce525ae600629615e95933b38167bf7bfafa265c572acdca1c095fdad, treasury=0x0392550f2cc8f687db3518f54c1b7b201d3ba00d3199f11d1ea6a3c336778e5f
  1. Run Function

FUNCTION-ID:- <module_address>::<module_name>::<function_name>

aptos move run --funtion-id <FUNCTION-ID> --args <ARG>

Releases

No releases published

Languages