1.3.2 • Published 12 months ago
@aaraz/solhelper v1.3.2
A VERY SIMPLE PACKAGE TO INTERACT WITH THE SOLANA BLOCKCHAIN
Under the hood the package uses the @solana/web3.js
, @solana/spl-token
package to interact with the Solana blockchain but it provides a simple abstraction to the user.
For Example.
import {SendToken} from '@aaraz/solhelper'
SendToken({
SendFrom: 'SendFrom',
FromSecretKey: 'FromSecretKey',
SendTo: 'SendTo',
MintAddress: 'MintAddress',
amount: 12,
})
SendSolana({
FromPubKey: 'FromPublicKey',
FromSecretKey: 'FromSecretKey',
sol_amount: 0.5,
ToPublicKey: 'ToPublicKey',
})