aptos-marketplace-contract
aptos-marketplace-contract copied to clipboard
NFT marketplace smart contract with all functions based on Aptos blockchain
Aptos NFT Marketplace Contract
Vexpy is Explore, collect and sell Arts & NFTs. Base on Aptos blockchain, inspired by Opensea. hatched by Tonotice.
Getting started
- Initialize the aptos configuration, if you don't already have it
# create marketplace addr
aptos init --profile marketplace
- Fund with faucet
# faucet
aptos account fund-with-faucet --account marketplace
- Compile contract
aptos move compile --named-addresses lotus=marketplace
- Test Contract
# test
aptos move test --named-addresses lotus=marketplace
- Publish Contract to DevNet/TestNet
# publish
aptos move publish --included-artifacts none --named-addresses lotus=marketplace --profile=marketplace
- marketplace addr call contract
initial_market_script
aptos move run --function-id 'marketplace::Marketplace::initial_market_script' --profile=marketplace
Features
- [x] initial market
- [x] batch list token
- [x] batch delist token
- [x] batch buy token
- [x] change token price
- [x] make offer
- [x] cancel offer
- [x] accept offer
- [x] claim accept token offer
- [x] inital auction
- [x] bid
- [x] claim auction token(buyer)
- [x] claim action coin(seller)
Contributing
Bug report or pull request are welcome.
Make a pull request
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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.