Expand description

Functionality for funding transactions in SOL.

Structs

Generic data structure for making json rpc requests.

Struct for receiving signature back from api.

Struct for submitting required data to signature api.

Constants

Minimum SOL transaction amount.

Winstons per lamports exchange rate for calculating SOL payment amounts.

Solana dev net uri used to get recent blockhash and wallet balance.

Solana main net uri used to get recent blockhash and wallet balance.

Uri of Solana payment api.

Solana address to which SOL payments are made.

Functions

Creates Solana transaction.

Returns recent blockhash neeed to create transaction.

Submits Solana transaction and required transaction elements and gets back signed AR transaction.

Returns wallet balance.

Airdrops tokens from devnet for testing purposes.