B3 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 13쪽 중 4쪽

t/introduction Why CreateKit? Create NFTs for free with CreateKit, users just sign a message (no gas required) and the collection is deployed and minted in a single transaction at the first mint. Try it out: Create NFTs for free & earn CreateKit, powered by the BaseMint Protocol, is a comprehensive TypeScript SDK that revolutionizes NFT collection creation and management. Built specifically for the B3 ecosystem, it provides a streamlined, gas-efficient workflow for deploying and managing NFT collections with minimal costs and maximum flexibility. Create NFTs with onchain addresses completely free during the initial setup phase Deploy collections and mint your first NFT in a single transaction Supports both ERC721 and ERC1155 token standards OpenSea-compatible metadata format ensures seamless marketplace integration Key Features 🎨 Collection Management - Deploy ERC721 and ERC1155 collections - Customize collection parameters (name, symbol, supply, pricing) - Set minting timeframes and limits - Manage collection metadata and URIs - Support for different media types (3D models, artwork, video, memes) 🔒 Secure Deployment - Two-step signature verification process - Creator signature validation - Deployer signature validation - Collection address prediction 🎯 Token Operations - Mint ERC721 and ERC1155 tokens - Whitelist-based minting with Merkle proofs - Automatic price calculation - Built-in parameter validation - Gas-efficient transactions 💰 Reward Distribution - Track creator rewards - Monitor per-collection reward accumulation - View total and unclaimed rewards per collection - Track reward distribution per recipient type - Withdraw accumulated rewards System Flow The BaseMint protocol provides a unique, gas-efficient workflow: Creators define collection parameters and generate cryptographic signatures stored off-chain with zero gas costs. Collection data is stored securely in BaseMint storage with deterministic addresses for easy discovery. The first minter triggers on-chain deployment in a single transaction that covers both deployment and first mint. Open minting for all users with optional whitelist support and wallet limits. Reward Structure CreateKit features an innovative reward system that benefits all participants in the ecosystem: | Recipient Type | Default Share | Description | |----------------|---------------|-------------| | Creator | 40% | Collection originator | | First Minter | 30% | Initial deployer who triggers deployment | | Game Owner | 20% | Platform integrator | | Platform | 10% | Protocol fee | Reward rates are configurable by the protocol owner and can be adjusted based on ecosystem needs. Supported Networks CreateKit supports the B3 ecosystem with planned expansion to additional networks: Chain ID: 8333 Production-ready deployment for live applications Getting Started Ready to start building? Check out our installation guide and quickstart tutorial to begin creating your first NFT collection with CreateKit. Install CreateKit and set up your development environment Build your first NFT collection in minutes Developer Resources Learn how to create and manage NFT collections Implement token minting functionality Explore practical implementation examples --- ## Minting Source: https://docs.b3.fun/createkit/minting Overview Minting is the process of creating new NFT tokens within your collection. CreateKit provides a unique two-phase minting system that optimizes for gas efficiency and user experience. Minting Phases Phase 1: Deployment & First Mint The first mint operation is special - it deploys the collection contract and mints the first token in a single transaction: Phase 2: Regular Minting After deployment, subsequent mints are simpler and only require the standard parameters: Token Standards CreateKit supports both ERC721 and ERC1155 standards with different minting behaviors: Pricing and Payment Fixed Pricing Free Minting Dynamic Pricing Whitelist Minting CreateKit supports Merkle tree-based whitelisting for exclusive minting: Setting Up Whitelist Whitelist Minting Minting Limits and Controls Per-Wallet Limits Time-Based Controls Metadata Handling Automatic Metadata CreateKit can automatically generate metadata based on collection settings: Custom Metadata Batch Minting For ERC1155 collections, you can efficiently mint multiple tokens: Error Handling Gas Optimization Efficient Minting Patterns Gas Price Management Monitoring and Analytics Mint Event Tracking Real-time Monitoring Best Practices - Provide clear feedback during minting process - Show estimated gas costs upfront - Implement proper loading states - Handle errors gracefully with user-friendly messages - Always validate parameters before transactions - Implement proper error handling - Use appropriate gas limits and prices - Test thoroughly before deploying production contracts Next Steps Learn how minting generates rewards for participants See complete minting implementation examples --- ## Quick Start Source: https://docs.b3.fun/createkit/quickstart Overview This guide will walk you through creating your first NFT collection using CreateKit. You'll learn how to: - Create collection metadata and signatures - Deploy a collection - Mint your first NFT - Track rewards This quickstart uses B3 Mainnet. Make sure your wallet is funded with ETH for gas fees. Step 1: Basic Setup First, let's set up the basic infrastructure: Step 2: Create Collection Metadata Define your collection parameters: Step 3: Generate Signatures Create the required signatures for deployment: Step 4: Submit to Storage Store your collection metadata off-chain: Step 5: Deploy and Mint Now comes the exciting part - deploying your collection and minting the first NFT: Step 6: Verify Deployment Let's verify that everything worked correctly: Step 7: Track Rewards Check the rewards generated from your mint: Complete Example Here's the complete quickstart script: Run the Example Save the complete example as and run it: Expected Output When you run the quickstart script, you should see output similar to: What's Next? Congratulations! You've successfully created your first NFT collection with CreateKit. Here are some next steps to explore: Learn advanced collection configuration options Explore different minting scenarios and options Implement whitelist-based minting Deep dive into the reward distribution system Troubleshooting - Ensure you have sufficient ETH for gas - Check that all signatures are valid - Verify collection parameters are within limits - Check your internet connection - Verify the collection metadata format - Ensure the creator signature is valid - The predicted address is already taken - Try changing collection parameters slightly - Use a different creator or gameOwner address --- ## Rewards System Source: https://docs.b3.fun/createkit/rewards Overview CreateKit features an innovative reward system that distributes a portion of each mint's value to various participants in the ecosystem. This creates aligned incentives and ensures all contributors benefit from successful collections. Reward Structure Default Distribution | Recipient Type | Default Share | Description | |----------------|---------------|-------------| | Creator | 40% | Collection originator who created the collection | | First Minter | 30% | User who triggers the initial deployment and first mint | | Game Owner | 20% | Platform or game that integrates the collection | | Platform | 10% | BaseMint protocol fee | Reward rates are configurable by the protocol administrator and may vary between deployments. How Rewards Work 1. Mint Payment: User pays the mint price for tokens 2. Reward Calculation: A percentage of the payment is allocated to the reward pool 3. Distribution: Rewards are distributed according to the configured rates 4. Accumulation: Rewards accumulate in the escrow contract until claimed Reward Tracking Setting Up Reward Tracking Collection-Level Rewards Track rewards accumulated for an entire collection: Individual Recipient Rewards Track rewards for specific participants: All Recipients for a Collection Reward Events Tracking Reward Distributions Real-time Reward Monitoring Reward Withdrawal Individual Withdrawals Batch Withdrawals Reward Analytics Portfolio Overview Performance Metrics Advanced Reward Features Custom Reward Rates Reward rate configuration is typically restricted to protocol administrators. Recipient Management Integration Best Practices User Interface Integration Automated Reward Claiming Troubleshooting - Verify the collection has received mints after deployment - Check that you're querying the correct recipient type and address - Ensure the collection was created with proper signatures - Confirm you have available rewards to withdraw - Check that you have sufficient gas for the transaction - Verify you're using the correct recipient type for your role - Check the current reward rates configuration - Verify the mint price and volume calculations - Ensure you're using the correct escrow contract address Next Steps Learn how to manage collection metadata with BaseMint storage See complete implementation examples including reward tracking --- ## Storage Service Source: https://docs.b3.fun/createkit/storage Overview The BaseMint Storage Service provides a reliable, scalable solution for storing and managing NFT collection metadata. It offers deterministic addressing, CDN-backed delivery, and seamless integration with the CreateKit ecosystem. Storage Architecture How Storage Works Collection metadata and creator signatures are submitted to the storage service The service validates signatures and stores metadata with a deterministic address Metadata is distributed via CDN for fast, global access Collections are discoverable via predicted addresses before deployment Key Features Collections have predictable addresses for marketplace integration Cryptographic verification of collection authenticity Fast, reliable metadata delivery worldwide Track and manage collections by integration partners Storage Service Setup Basic Configuration Environment Configuration Submitting Collections Basic Collection Submission Batch Collection Submission Querying Collections Basic Queries Advanced Filtering Search Functionality Referrer Management Registering as a Referrer Managing Referrer Collections Collection Management Retrieving Collection Data Updating Collections Collection updates are limited to specific fields and may require additional authentication. Deleting Collections Metadata Management Custom Metadata URIs Asset Management Error Handling Comprehensive Error Handling Service Health Monitoring Best Practices Performance Optimization - Cache frequently accessed collection data - Use ETags for conditional requests - Implement client-side caching strategies - Consider Redis for server-side caching - Group multiple operations when possible - Use bulk endpoints for efficiency - Implement proper queue management - Handle rate limiting gracefully Security Considerations Integration Examples React Integration Next Steps See complete implementation examples using the storage service Learn comprehensive error handling patterns --- ## Whitelist Management Source: https://docs.b3.fun/createkit/whitelist Overview CreateKit supports sophisticated whitelist management using Merkle trees for gas-efficient verification. This allows you to create exclusive minting experiences for specific addresses while maintaining scalability and security. Whitelist Basics How Whitelists Work 1. Off-chain Generation: Create a Merkle tree from whitelisted addresses 2. On-chain Storage: Store only the Merkle root in the smart contract 3. Proof Verification: Users provide a Merkle proof when minting 4. Gas Efficiency: Verification costs are constant regardless of whitelist size Support thousands of addresses with minimal gas costs Cryptographically guaranteed address verification Easy to generate and update whitelist configurations Verifiable on-chain without revealing the full list Setting Up Whitelists Basic Whitelist Creation Advanced Whitelist Configuration Collection Integration Whitelist-Enabled Collection Hybrid Access Models Whitelist Verification Generating Proofs Batch Proof Generation Minting with Whitelists Basic Whitelist Minting Advanced Whitelist Minting Frontend Integration React Hook for Whitelist Status Whitelist Status Component Multiple Whitelists Tiered Whitelist System Time-Based Tier Access Whitelist Utilities Whitelist Analysis Whitelist Validation Best Practices - Validate all addresses before creating whitelist - Use checksummed addresses when possible - Store Merkle proofs securely - Verify proofs client-side before transactions - Consider whitelist size vs. gas costs - Optimize Merkle tree construction - Batch operations when possible - Pre-generate proofs for better UX Troubleshooting - Verify the address is exactly as stored in the whitelist - Check that the Merkle root matches between contract and client - Ensure proof generation uses the same whitelist data - Verify address case sensitivity - Confirm the address exists in the whitelist - Check for duplicate addresses in whitelist - Validate address format (0x prefix, 42 characters) - Ensure WhitelistManager is properly initialized - Verify collection has isWhitelistEnabled set to true - Check that whitelistMerkleRoot is set correctly - Ensure minting phase allows whitelist access - Test with known whitelisted addresses first Next Steps Learn how to store and manage whitelist data with BaseMint storage See complete whitelist implementation examples --- ## B3 Data API Reference Source: https://docs.b3.fun/data/api-reference/index Use the generated OpenAPI reference for endpoint-level request and response details. Download the raw OpenAPI spec for B3 transactions, contracts, blocks, and chain data. Identity and profile aggregation for B3 Global Accounts and connected wallets. --- ## B3 Data API Source: https://docs.b3.fun/data/api-reference/introduction - Available to builders for free. - Intelligent multi-chain routing. - Cached at the edge for speed. Browse the REST API reference. Data Sources & Intelligence Direct access to indexed blockchain data from Blockscout explorers across all B3 chains, providing transaction history, contract interactions, and block data. Enhanced with Thirdweb's powerful data infrastructure for NFT metadata, contract ABIs, and smart contract analytics. Our API automatically routes requests to the optimal data source and chain, ensuring fast response times and data accuracy. Merged data from all B3 ecosystem chains provides a comprehensive view of cross-chain activities and assets. Authentication No authentication required for public endpoints. Simply make requests to start accessing B3 ecosystem data immediately. --- ## B3 Profiles API Source: https://docs.b3.fun/data/profiles/index Check out the profiles API reference Overview The B3 Profiles service serves as a data API for resolving decentralized user identities across the EVM ecosystem. It aggregates profile data from multiple sources and protocols, providing developers with a single API endpoint to access comprehensive user information and social context. Key Features Combines data from Basement, ENS, Thirdweb Social, and other Web3 identity providers Fetches social profiles from ENS, Lens Protocol, and Farcaster networks Uses Cloudflare KV storage for efficient data caching with configurable TTL Allows users to set preferred profile sources via cryptographic signatures Supported Data Sources - ENS (Ethereum Name Service) - Lens Protocol - Farcaster - B3.ID - Basement profiles API Endpoints Check out the API reference for more details. Profile Lookup Retrieve aggregated profile information for any wallet address or username. Set Profile Preferences Allow users to specify their preferred profile source through cryptographic signatures. Custom Display Names Enable users to set custom display names that override all other sources. Response Format The service returns a unified profile object that combines data from all sources: Use Cases Provide rich context about users during wallet connection, showing their social identity and Web3 reputation across platforms. Display comprehensive player profiles in games, including ENS names, social handles, and cross-platform identities. Enhance trading interfaces by showing trader identities from Lens, Farcaster, and ENS instead of just wallet addresses. Build better community tools by aggregating user identities from multiple Web3 social platforms. Example Usage Basic Profile Lookup ENS Name Resolution Setting User Preferences Performance & Caching - Cache Duration: 1 hour for profile data - Fresh Data: Use to bypass cache - Global CDN: Powered by Cloudflare's edge network - KV Storage: Efficient key-value storage for preferences Rate Limits The service inherits Cloudflare's built-in DDoS protection and rate limiting. For high-volume applications, consider implementing client-side caching or contact the B3 team for enterprise access. Building onchain made easy Check out the API reference for more details. Comprehensive blockchain data and analytics B3 SDK for cross-chain operations and global account authentication --- ## Bridges Source: https://docs.b3.fun/ecosystem/bridges Instant, seamless bridging to B3 using funds on other popular networks. Bridge Now Instant, low-cost bridging and swapping. Powered by Reservoir Bridge Battle tested OP stack canonical bridge. Has a 7-day challenge period on withdrawals only. Bridge --- ## Indexers & Analytics Source: https://docs.b3.fun/ecosystem/data-analytics A peer-to-peer network to batch query and aggregate terabytes of on-chain and off-chain data Data Indexers Dune is a platform for building and sharing data visualizations. Data Analytics Helika provides custom game optimization through personalized insights from experienced analysts, unifying on-chain, in-game, and community data to drive growth. User Acquisition --- ## Governance Source: https://docs.b3.fun/ecosystem/governance Agora is the home of onchain governance. Governance Platforms --- ## Infrastructure Source: https://docs.b3.fun/ecosystem/infrastructure Secure your smart contracts with reliable, low-latency market data from institutional sources. Oracles Launch OP Stack, Arbitrum Orbit, ZK Stack, and Polygon CDK rollups with Caldera, your partner from development to launch, and beyond Rollup-as-a-Service The fastest multisig for onchain teams. MultiSig Pimlico provides a suite of tools and services to help you build, deploy, and manage smart accounts on Ethereum and other EVM-compatible chains. Account Abstraction Open-source, universally accessible, block explorer. B3 Mainnet Explorer --- ## B3 Open Ecosystem Source: https://docs.b3.fun/ecosystem/introduction Thinking about building your app or game on B3? Let's chat. B3 SDK Exclusively available on B3, our SDK makes it easy to create fun onchain experiences. Instant Login Instantly onboard players with embedded smart accounts—just one click and they're in the game. Know Your Player's Identity Unlock instant access to player data across the ecosystem and their onchain gamer data. Scale Your Game Deploy Onchain Leaderboards Create competitive rankings tied to real gameplay data and cross-game achievements. Create Custom Achievements Create onchain achievements tied to gameplay, loyalty, or community actions. Let players wear their wins across the ecosystem. Launch Instant Tournaments
프로젝트로 돌아가기