Skip to content

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 cryptography and the Solana network.

License

Notifications You must be signed in to change notification settings

sk1ppi-archived/solana_module_1_cryptography_and_the_solana_network

Repository files navigation

@sk1ppi/solana-module-1-cryptography-and-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 cryptography and the Solana network.

Install

To install the package, use the following command:

npm i @sk1ppi/solana-module-1-cryptography-and-the-solana-network

Example

To use the package, use the following code example:

const {     
    generateKeypair,
    loadKeypairFromEnvironment
 } = require('@sk1ppi/solana-module-1-cryptography-and-the-solana-network');
 
const keypair = generateKeypair();
console.log(keypair);
/** 
 * {
 *  publicKey: ...
 *  secretKey: ...
 * }
**/


const keypair = loadKeypairFromEnvironment();
console.log(keypair);
/** 
 * {
 *  publicKey: ...
 *  secretKey: ...
 * }
**/

Testing

To run tests, use the following command:

npm run test

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

export SECRET_KEY="[...]"

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

About

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 cryptography and the Solana network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published