Comments (6)
Currently, I have written a set of 1 package called an-std (for the purpose of providing a function to handle burning and distributing collection creation fees) and 3 contracts including anone-minter (for the purpose of creating collections for artists - this contract has been built successfully), an721 (which is the standard for NFT collection - this contract has also been built successfully) and anone-nft-marketplace (which is a contract for NFT trading: transfer NFT cw721 to the buyer and transfer cw20 token AN1 to the seller - this contract is not running properly logic yet). The old contract anone-cw721 is still used for the purpose of minting 1 nft to the function caller, for demo purposes only, and will soon be replaced by a production version.
I'll be writing a set of scripts soon to help you understand how contracts work.
from anone.
Deploy anone-nft-marketplace contract
from anone.
Create sale for NFT with token_id is 2 and nft collection contract is: one1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrq9jdqcm
from owner: one1sgdktd56d6ku5ud00dlss0r27u6rx8gq2080fm
to nft-marketplace contract: one19vrjp7fll6a729v464wlxr8a2xqhcddc0e5f0gxkv4fcyl8n23us4mr5jv
Check tx in here: https://test-anone.zenscan.io/transaction.php?hash=339E98BC218EC4A41808A202F241D3EA918F7D9FACE031D7AA7AA9161308D073
from anone.
@nghuyenthevinh2000
After create sale, that NFT will have list_price is 500 MAGE (because I use mageNFT cw20 token for test)
from anone.
After create sale, owner of that NFT can cancel sale, and that NFT will go back to owner address and no longer available in marketplace.
Check tx in here: https://test-anone.zenscan.io/transaction.php?hash=44B558F644B832878B5D6B721B32D4712C5F3E33E74E7C309F597EBFDE3271C5
from anone.
Buy nft function is ok.
Buy an NFT with token_id is 4 and offering_id is 10. Buyer is one1sgdktd56d6ku5ud00dlss0r27u6rx8gq2080fm:
After buy, this nft is transfered from nft-marketplace address to buyer address:
from anone.
Related Issues (20)
- NFT Marketplace: update collections HOT 2
- ICO and Launchpad module HOT 4
- Fractal KYC Integration HOT 7
- Add buf functionality to another - 1 so as to better handling of protoc generation
- Fractional ownership shoe NFTs HOT 1
- Update Anyone to Cosmos - SDK v0.45.0 HOT 1
- Add Anone testnet faucet in Discord HOT 4
- Testnet2: Bump up to cosmos-sdk v0.46.0
- API and RPC node address HOT 3
- Anone UI Design HOT 1
- Gravity Bridge implementation to Anone HOT 2
- Shoe NFT Marketplace HOT 6
- Minting An1 on BSC to launch on Polygon network HOT 5
- Mint module HOT 3
- Claim Module HOT 7
- anoned balance issue HOT 3
- NFT Marketplace: create logic HOT 5
- NFT Marketplace: listing logic
- DAO DAO implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anone.