Solana: Token swap using Javascript / NODE with Raydium V4

Solon chips on Solana with Javascript and half with Raydium v4

Business! It is good to look for desterized finance in the world (Defi). In this state, we will show you how to use the popular Blockchain Solana and Raydium V4 protocol to restore the token to your web press.

What is this token?

Solana: Token swap using Javascript / NODE with Raydium V4

The sign is included in one cryptocurrency in the second. This process determines the renewed bruising that envelops the transaction.

Raydium v4 use with Web3.js on Ladi

Raydium is a popular platform for Defi, which complicates the wide range of protocols at the volume of shooting chips. In order to realize the token using web3.js and the transport you need to break down the following Shagie:

SHAG 1: Settings Medicine is broken

VI -SONR, limit what your Mode Node.js computer on your computer. Provide a new project project and overdose:

`Bash

Mkdir Solana-token-Swapper

CD Solana-Token-Swapper

`

Transfer the new project in a new project using NPM InitOR threads. Set sets -ups:

Bash

NPM Install @Solana /web3.js @Raydium/V4

`

SHAG 2: Provide new web

Provide a new file to the project called Index.html. This will be the point of your web broadcast record.

`html

head>

Solan token replacement

from the token:

to the token: