1.0.0 • Published 4 months ago

@sk1ppi/solana-module-1-using-on-chain-programs v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

@sk1ppi/solana-module-1-using-on-chain-programs

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 using on-chain programs on the Solana Network.

Install

To install the package, use the following command:

npm i @sk1ppi/solana-module-1-using-on-chain-programs

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 { sendPingTransaction } = require('@sk1ppi/solana-module-1-using-on-chain-programs');

async function main () {
    const signature = await sendPingTransaction()
    console.log(signature)
}

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

@solana-developers/node-helpers@solana/web3.jsansi-escapesansi-regexansi-stylesanymatchargparsebabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbrace-expansionbracesbrowserslistbs58bserbuffer-fromcallsitescamelcasecaniuse-litechalkchar-regexci-infocjs-module-lexercliuicocollect-v8-coveragecolor-convertcolor-nameconcat-mapconvert-source-mapcreate-jestcross-spawndebugdedentdeepmergedetect-newlinediff-sequenceselectron-to-chromiumemitteryemoji-regexerror-exescaladeescape-string-regexpesprimaexecaexitexpectfast-json-stable-stringifyfb-watchmanfill-rangefind-upfs.realpathfseventsfunction-bindgensyncget-caller-fileget-package-typeget-streamglobglobalsgraceful-fshas-flaghasownhtml-escaperhuman-signalsimport-localimurmurhashinflightinheritsis-arrayishis-core-moduleis-fullwidth-code-pointis-generator-fnis-numberis-streamisexeistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjest-changed-filesjest-circusjest-clijest-configjest-diffjest-docblockjest-eachjest-environment-nodejest-get-typejest-haste-mapjest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljsescjson-parse-even-better-errorsjson5kleurlevenlines-and-columnslocate-pathlru-cachemake-dirmakeerrormerge-streammicromatchmimic-fnminimatchmsnatural-comparenode-int64node-releasesnormalize-pathnpm-run-pathonceonetimep-limitp-locatep-tryparse-jsonpath-existspath-is-absolutepath-keypath-parsepicocolorspicomatchpiratespkg-dirpretty-formatpromptspure-randreact-isrequire-directoryresolveresolve-cwdresolve-fromresolve.exportssemvershebang-commandshebang-regexsignal-exitsisteransislashsource-mapsource-map-supportsprintf-jsstack-utilsstring-lengthstring-widthstrip-ansistrip-bomstrip-final-newlinestrip-json-commentssupports-colorsupports-preserve-symlinks-flagtest-excludetmplto-fast-propertiesto-regex-rangetype-detecttype-festundici-typesupdate-browserslist-dbv8-to-istanbulwalkerwhichwrap-ansiwrappywrite-file-atomicy18nyallistyargsyargs-parseryocto-queue
1.0.0

4 months ago