Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

367
Views
How to register a Solana Fungible token in 2022

Since June 20, 2022, the rules for registering tokens have changed: https://github.com/solana-labs/token-list

I have tried the following:

1). Create new tokens through the services:

  • Strata Protocol Token Launchpad
  • Token Creator Demo

After creating these tokens and attempting to transfer them to another wallet via a web app(web3js), they are defined as NFT:

NFT Solana transfer

Also on Solscan, these tokens are displayed as "Unrecognized Token":

Unrecognized Solana Token

2). Then I tried to register the token via Metaplex, but I constantly encountered various errors. My code(JavaScript):

import { createCreateMetadataAccountV2Instruction} from '@metaplex-foundation/mpl-token-metadata';

    const tokenMetadata = {
      name: 'EUR demo-stablecoin',
      symbol: 'EURX',
      uri: {
        name: 'EUR demo-stablecoin',
        symbol: 'EURX',
        description: 'Fully for testing purposes only',
        image: 'https://raw.githubusercontent.com/.../logo.png',
      },
      sellerFeeBasisPoints: 0,
      creators: null,
      collection: null,
      uses: null,
    };

    const createNewTokenTransaction = new solanaWeb3.Transaction().add(
        createCreateMetadataAccountV2Instruction(
          {
            metadata: 'https://vxmxabesb3yfewwf4jcplmstg2fe3cngsphlgnrvwp46iftqdm.arweave.net/.../arweave-metadata-JSON',
            mint: mintKeypair.publicKey,
            mintAuthority: provider.publicKey,
            payer: provider.publicKey,
            updateAuthority: provider.publicKey,
          },
          {
            createMetadataAccountArgsV2:
              {
                data: tokenMetadata,
                isMutable: true,
              },
          },
        ),
      );

   await sendTransaction(
      createNewTokenTransaction,
      connection,
      { signers: [mintKeypair] },
    );

Maybe someone knows how to register a Fungible token in Solana now? It will be especially useful if the example is with the registration of an existing token.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Your URI is incorrect. It should be the metadata link.

import { DataV2, createCreateMetadataAccountV2Instruction } from '@metaplex-foundation/mpl-token-metadata';
import { findMetadataPda } from '@metaplex-foundation/js';

const metadataPDA = await findMetadataPda(mintKeypair.publicKey); // This is derived from the mint account's public key
const tokenMetadata = {
        name: "Test Token", 
        symbol: "TEST",
        uri: https://token-creator-lac.vercel.app/token_metadata.json,
        sellerFeeBasisPoints: 0,
        creators: null,
        collection: null,
        uses: null
      } as DataV2;
const createNewTokenTransaction = new Transaction().add(
        createCreateMetadataAccountV2Instruction({
            metadata: metadataPDA,
            mint: mintPublicKey,
            mintAuthority: userPublicKey,
            payer: userPublicKey,
            updateAuthority: userPublicKey,
          },
          { createMetadataAccountArgsV2: 
            { 
              data: tokenMetadata, 
              isMutable: true 
            } 
          }
        )
await sendTransaction(createNewTokenTransaction, connection);
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!