Coder Social home page Coder Social logo

solana-paper-wallet's Introduction

Solana Paper Wallet For NodeJS

This is a solana paper wallet written using NodeJS, designed to generate a new solana keypair

Usage

solwallet <options>

Options:

--generate or -g
(Generate a keypair with a QR code for the generated address)

--encrypt or -e
(Generate a password protected keypair to a file alongside a QR code for the generated address.
GnuPG must be installed for this option to work)

--version or -v
(Show the current version of the paper wallet)

--help or -h
(Shows the help page)

Examples

solwallet -e

Generates an encrypted Solana keypair to a file in the sol/ folder. Will create the sol/ folder if it does not exist.
This is the recommended option to save your keypair

solwallet -g > foo.txt

Generates a Solana keypair to a file called foo.txt with a QR code being saved in the current directory

Installation

Note: As of v0.2.0, solwallet is only available for Windows

If you are using solwallet on Windows, get the latest NodeJS here

If you are using solwallet on Linux or MacOS, follow the installation instructions here

To be able to encrypt the generated keypair before it is saved to a file, GnuPG must be installed

To install this script, run

npm install -g solwallet

To verify if the package has been installed correctly, run

solwallet -v

It should show the lastest version of the script installed

Contributing

Any contributions to the code are welcome. This can come in the form of opening pull requests
if you would like to contribute to the code directly or filing an issue if you would like to suggest
any improvements

Credits

Solana Cookbook, @solana/web3.js, micro-ed25519-hdkey, bip39, qrcode,

License

solwallet uses the MIT license

solana-paper-wallet's People

Contributors

0xliquidglass avatar

Watchers

 avatar rabba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.