Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 1.7 KB

README.md

File metadata and controls

76 lines (56 loc) · 1.7 KB

Aptos NFT Marketplace Contract

Vexpy is Explore, collect and sell Arts & NFTs. Base on Aptos blockchain, inspired by Opensea. hatched by Tonotice.

Getting started

  1. Initialize the aptos configuration, if you don't already have it
# create marketplace addr
aptos init --profile marketplace
  1. Fund with faucet
# faucet
aptos account fund-with-faucet --account marketplace
  1. Compile contract
aptos move compile --named-addresses lotus=marketplace
  1. Test Contract
# test
aptos move test --named-addresses lotus=marketplace
  1. Publish Contract to DevNet/TestNet
# publish
aptos move publish --included-artifacts none --named-addresses lotus=marketplace --profile=marketplace
  1. marketplace addr call contract initial_market_script
aptos move run --function-id 'marketplace::Marketplace::initial_market_script' --profile=marketplace

Features

  • initial market
  • batch list token
  • batch delist token
  • batch buy token
  • change token price
  • make offer
  • cancel offer
  • accept offer
  • claim accept token offer
  • inital auction
  • bid
  • claim auction token(buyer)
  • claim action coin(seller)

Contributing

Bug report or pull request are welcome.

Make a pull request

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please write unit test with your code if necessary.

License

web3 is available as open source under the terms of the MIT License.