/solana_module_1_create_transactions_on_the_solana_network

This package is a part of the Solana Development Course by James Pacheco and others. It contains the code for the first module of the bootcamp, which is about creating transactions on the Solana Network.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

@sk1ppi/solana-module-1-create-transactions-on-the-solana-network

Made by GitHub License NPM Version

This package is a part of the Solana Development Course by James Pacheco and others. It contains the code for the first module of the bootcamp, which is about creating transactions on the Solana Network.

Install

To install the package, use the following command:

npm i @sk1ppi/solana-module-1-create-transactions-on-the-solana-network

Example

Provide your own private key in your environment variables or .env file to test or use the package.

export SECRET_KEY="[...]"

To use the package, use the following code example:

const { sendLamports } = require('@sk1ppi/solana-module-1-create-transactions-on-the-solana-network');

async function main () {
    await sendLamports(100, 'CtVhhCQNjaP4XfK4yAGrG76rHMRk8L7AW28PTTcpJqKM')
}

main()

Testing

To run tests, use the following command:

npm run test

Contribute

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Reach out

image0_0-3

License

Apache-2.0