0

I’m trying to find how I can see token contracts as they are being deployed on Solana. I can find them after liquidity has been added but preferably I’d like to know how to find them before the liquidity is added. Just can’t see where I can see newly deployed tokens. Thanks

1
  • How do you find them when Liquidity has been added? I am still learning the SOL ecosystem myself.
    – Ajar
    Commented Dec 8, 2023 at 11:32

4 Answers 4

2

You can use Bitquery Instructions API to easily subscribe to newly deployed Tokens in Solana blockchain.

To test out the subscription, here's the link - https://ide.bitquery.io/Get-newly-created-tokens-on-Solana_2

In the below query, we are subscribing to initializeMint, initializeMint2 instructions from Solana Token Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA which is responsible for deploying new tokens.

subscription {
  Solana {
    Instructions(
      where: {Instruction: {Program: {Address: {is: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}, Method: {in: ["initializeMint", "initializeMint2"]}}}, Transaction: {Result: {Success: true}}}
    ) {
      Instruction {
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        Program {
          AccountNames
          Address
        }
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Full Disclosure- I work at Bitquery

0

You can listen to the token program directly and filter for initialize mint instructions. Check out Webhooks on one of the RPC providers such as Helius for a way to do this very quickly. https://docs.helius.dev/webhooks-and-websockets/quick-start

0

Hello I had a similar problem I was given quite inconclusive and loose answers, many times they gave me answers where I did not get to anything, look there are different ways, they will tell you that helius or other nodes, but they will not explain what to do with them, only with the helius node and webhooks will not be enough

I recommend you go to solscan and look at a program log. There you will get the instructions that you should focus on, another recommendation is that you better use a WebSocket. After you have the websocket what I recommend is that you use the subscription to the logsSubscribe method that way you go filtering the instructions that you saw in the programlog of a token already created because if you only use initializeMint or CreateAccount it will not be enough. After all, you will get too many requests for things you are not looking for, how to create tokens, transactions, swaps, etc.

0

To find new token contracts on Solana as they are deployed, even before liquidity is added, you can use several approaches that involve monitoring the blockchain for real-time data:

Solana Explorer and Solscan: Both Solana Explorer and Solscan allow you to view transactions on the blockchain in real-time. Although these platforms primarily show you transactions after they occur, you can frequently refresh or use filters to spot new token creations. Look for "Create Account" or "Initialize Account" transactions, which are often indicative of new token deployments.

Real-time Monitoring Tools: You might consider using or developing a tool that uses the Solana JSON RPC API to monitor transactions in real-time. Specifically, you can subscribe to the accountSubscribe method with the programId that matches the Solana token program ID (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA). This will notify you whenever a new token account is created under this program.

Third-party Services: There are also third-party services and platforms that provide alerts for newly created tokens on various blockchains, including Solana. Services like Moralis or Covalent offer real-time data feeds and webhook functionalities that could be configured to alert you about new token deployments.

Community and Developer Tools: Engage with the Solana developer community. Platforms like Discord, Reddit, and GitHub may have projects or scripts shared by other developers that focus on monitoring new tokens. These tools can be particularly useful for catching new tokens before they hit mainstream awareness.

Scripts and Custom Solutions: If you are comfortable with programming, writing a custom script that interfaces with the Solana blockchain to fetch and analyze transactions can be a powerful method. Using libraries like @solana/web3.js, you can script interactions with the blockchain to watch for new token deployments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.