@aaraz/solhelper
v1.3.2
Published
Simplified Abstraction on solana web3.js package.it containe the more simplified version of the solana network action e.g. checking balance,performing transection and more.
Downloads
9
Readme
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',
})