Prerequisites
Before you start, youโll need:- A G2C Platform account
- Your API key (X-API-Key)
- A tool for making HTTP requests (curl, Postman, or your favorite HTTP client)
Step 1: Get Your API Key
Log in to the Dashboard and create a new API Key from the Administration > API Keys section. If you need assistance, contact us at [email protected].Keep your API key secure and never expose it in client-side code or public repositories.
Step 2: Test the API Connection
Letโs start with a simple health check to verify the API is working:Step 3: Create Your First Wallet
Wallets are digital identities that can hold and transfer tokens. Letโs create one:Save the wallet ID - youโll need it for token operations!
Step 4: Authenticate Your Wallet
To perform wallet operations, you need to authenticate and get a JWT token:Step 5: Mint Your First Token
Now letโs create your first blockchain token! You can mint either fungible tokens or NFTs:Mint a Fungible Token (Digital Currency)
Mint an NFT (Unique Certificate)
Step 6: View Your Tokens
Check the tokens in your wallet:๐ Congratulations!
Youโve successfully:- โ Connected to the G2C Platform API
- โ Created your first wallet
- โ Authenticated with JWT tokens
- โ Minted your first blockchain tokens
- โ Viewed your token holdings
Next Steps
Transfer Tokens
Learn how to transfer tokens between wallets
Token Management Guide
Deep dive into fungible tokens and NFTs
Create Categories
Organize digital objects in categories
API Reference
Explore all available endpoints
Troubleshooting
Common Issues
Authentication Error (401)- Verify your API key is correct
- Check that youโre using the right authentication header
- Ensure username is unique
- Password must meet security requirements (min 8 chars)
- Verify the wallet ID exists
- Check that you have sufficient permissions
Need Help?
- ๐ง Email: [email protected]
- ๐ Documentation: API Reference
- ๐ฌ Community: Join our Slack