The Getgems NFT contracts repository provides a robust collection of contracts tailored for the TON blockchain, perfect for launching and managing your NFT projects. In this guide, we’ll walk you through the components, how to set them up, and troubleshoot common issues.
Understanding the Components
Imagine you’re an artist wanting to showcase your artwork in a digital gallery. The Getgems NFT contracts are like a toolkit that enables you to create, display, and sell your artwork as NFTs (Non-Fungible Tokens). Here’s a breakdown of the toolkit:
- Standard NFT Contracts: These are the basic contracts that enable you to mint single NFTs.
- Collection Contracts: Similar to grouping paintings by an artist, these contracts allow for the management of multiple NFTs in one collection.
- Sale Marketplace Implementations: This is your digital gallery, where you can display and sell NFTs.
- SBT Implementation: This acts like a certificate proving ownership and authenticity of the NFTs.
- Marketplace and Sale Contracts: Think of these as the cashier and sales staff who handle transactions in your gallery.
Setting Up Your NFT Contracts
Follow these steps to set up your NFT contracts:
- Clone the contracts repository from Getgems.
- Choose your components, such as standard NFT or marketplace contracts.
- Deploy your selected contracts to the TON blockchain using your preferred method.
- Ensure that the contracts are properly tested using the provided tests in the repository.
Marketplace and Sale Contracts
When using the sale contracts, remember the following:
- The marketplace royalty is set at 5% (i.e., a marketplace fee factor of 5 and a base of 100).
- You need to configure the
marketplaceFeeAddress
andmarketplaceAddress
correctly with your wallet address.
Troubleshooting Common Issues
Sometimes, things don’t go as planned. Here’s how to debug your contract issues:
- Contract Not Deploying: Ensure you’ve set the correct parameters and have enough TON tokens in your wallet to cover the transaction costs.
- Marketplace Fees Not Working: Double-check that the marketplace fee addresses are accurate in the contract settings.
- NFT Not Showing in Marketplace: Make sure the contract for the NFT has been successfully deployed and verified.
- For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Example Sale Contracts
To provide clarity on contract capabilities, here are some examples of supported sale contracts:
- NFT Fix Price Sale: This contract allows fixed price listing for direct sales.
Example Testnet
and
Example Mainnet. - NFT Auction Contract: This allows users to bid on listed NFTs within a defined period.
Example Testnet
and
Example Mainnet.
Conclusion
By deploying Getgems NFT contracts on the TON blockchain, you’re setting up a powerful framework for your NFT projects. Keep in mind the troubleshooting tips and ensure the contract parameters are correct for a smooth experience. At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.