💙 Gate Square #Gate Blue Challenge# 💙
Show your limitless creativity with Gate Blue!
📅 Event Period
August 11 – 20, 2025
🎯 How to Participate
1. Post your original creation (image / video / hand-drawn art / digital work, etc.) on Gate Square, incorporating Gate’s brand blue or the Gate logo.
2. Include the hashtag #Gate Blue Challenge# in your post title or content.
3. Add a short blessing or message for Gate in your content (e.g., “Wishing Gate Exchange continued success — may the blue shine forever!”).
4. Submissions must be original and comply with community guidelines. Plagiarism or re
Solana NFT aids in identification verification exploring new solutions for Decentralization sign up
Explore using Solana Token for identification verification
NFT (Non-Fungible Token) as a unique non-replaceable token is very suitable for use as an identification verification tool. This article will explore the feasibility of using NFT as a registration credential through a simple example.
Tool Introduction
SPL Token
Solana provides the Token Program as a general implementation, which is part of the Solana Program Library (SPL). SPL includes multiple commonly used program implementations and offers a complete client library and CLI tools, greatly facilitating Solana development.
Solana Playground
Solpy provides an online environment for writing and deploying Solana contracts, which includes some commonly used tools by default, such as SPL Token. We can easily create and manage Tokens through spl-token-cli.
Create identification verification Token
We will create an NFT Token. Users minting this Token will be considered registered in the system; otherwise, the system will prompt users to register first.
Create Token
Create a new token using spl-token and specify it as an indivisible Token:
spl-token create-token --decimals 0
This will output the Mint Address, which is the Token ID we created.
Create Token Account
Create a Token Account for the newly created Token:
spl-token create-account <token_id>
Mint Token
Try to mint a Token unit for the Token Account:
spl-token mint <token_id> 1
Since we set decimals to 0, the decimal part will be discarded when actually executing the mint.
is the wallet address for Mint
To mint for the user's wallet address, you need to first create a Token Account for that address, and then use the created Token Account to mint new Token units.
Create Token Account:
spl-token create-account <token_id> --owner <wallet_address>
Get Token Account
Query whether the wallet address has minted our NFT through the getTokenAccountsByOwner method of the RPC interface.
Implementation
Create a simple Nextjs project to implement functionality, using Ant Design Web3 to connect a wallet.
The project includes three pages: home page, login page, and registration page.
When logging in, the backend will search for the associated Token Account based on the connected wallet address. If no data is found, it is assumed that the wallet address is not registered.
When registering, the system will create a Token Account for the user and mint a Token unit as a registration certificate.
Summary
We created an NFT using spl-token-cli, and determined whether the user is registered by checking if the wallet address has a Token Account and has minted a Token.
When Web3 users connect their wallets, the system automatically sends a registration request, creates a Token Account, and mints a Token unit as a registration certificate.
After that, users can log in to the website again using the same wallet address.