1.3.2 • Published 12 months ago

@aaraz/solhelper v1.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

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',
})

Note: By default the package use devnet. You can provide the rpc url by setting solana_rpc_url as environment variable

1.3.2

12 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago