npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ss-wallet

v1.1.5

Published

A CLI wallet for Solana

Downloads

12

Readme

Saitama Solana Wallet

Saitama Solana Wallet is a Command Line Interface (CLI) wallet for the Solana blockchain, providing essential functions to interact with the Solana network.

Installation

To install Saitama Solana Wallet globally using npm, run:

npm install -g ss-wallet

Key Features

  • Create and manage multiple Solana wallets
  • Request SOL airdrops (on testnet and devnet)
  • Check wallet balances
  • Send SOL transactions
  • Import wallets from files
  • View recent wallet activity
  • Check current SOL price

Commands

Usage

Generate a New Wallet

ss-wallet generate

Output:

Keypair generated and saved to wallet.json
Public Key: 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc
Private Key: a1b2c3d4...
Mnemonic Phrase (24 words):
word1 word2 word3 ... word24

or

ss-wallet generate [filename]

Output:

Keypair generated and saved to [filename].json
Public Key: 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc
Private Key: a1b2c3d4...
Mnemonic Phrase (24 words):
word1 word2 word3 ... word24

Request SOL Airdrop

ss-wallet airdrop <publicKey>

Output:

Airdrop requested for <publicKey>

Check Balance

ss-wallet balance <publicKey>

Output:

Balance for <publicKey>: <balance> SOL

Send Transaction

ss-wallet send <senderWallet> <recipientAddress> <amount>

Output:

Transaction successful with signature: <signature>

Import Wallet

ss-wallet import <filepath>

Output:

Keypair loaded from <filepath>
Public Key: <publicKey>

List Wallets

ss-wallet list

Output:

Wallets:
- <walletName1>
- <walletName2>
- <walletName3>

Select Primary Wallet

ss-wallet select <walletName>

Output:

Primary wallet set to <walletName>

Configure Network

ss-wallet set-config <networkName>

Output:

Network configuration set to <networkName>

View Private Key

ss-wallet show-private-key

Output:

Private Key: <privateKey>

Rename Wallet

ss-wallet rename <oldName> <newName>

Output:

Wallet renamed from <oldName> to <newName>

View Recent Activity

ss-wallet recent-activity

Output:

Recent activity for <publicKey>:
- <Last Most Recent Activity 1>
- <Last Most Recent Activity 2>
- <Last Most Recent Activity 3>

Check SOL Price

ss-wallet sol-price

Output:

Current SOL price: <price>

Display Wallet Information

ss-wallet show

Output:

Wallet information:
- Name: <wallet-name.json>
- Path: <wallet-path>
- Public Key: <wallet-public-key>
- Balance: <wallet-balance>
- Network: <Solana Network>
- Current SOL price: <Solana Price>
- Value of the wallet: <Solana Value>

Remove Wallet

ss-wallet remove <walletName>

Output:

Wallet removed: <walletName>

Help

ss-wallet help

Output:

Usage: ss-wallet <command> [options]

Commands:
- generate: Generate a new wallet
- airdrop: Request a SOL airdrop
- balance: Check wallet balance
- send: Send a SOL transaction
- import: Import a wallet from a file
- list: List all wallets
- select: Select a primary wallet
- set-config: Configure network
- show-private-key: Display private key
- rename: Rename a wallet
- recent-activity: View recent activity
- sol-price: Check SOL price
- show: Display wallet information
- remove: Remove a wallet
- help: Display help information

Examples

Generate a New Wallet

ss-wallet generate my-wallet

Output:

Keypair generated and saved to my-wallet.json
Public Key: 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc
Private Key: a1b2c3d4...
Mnemonic Phrase (24 words):
word1 word2 word3 ... word24

Request Airdrop

ss-wallet airdrop 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc

Output:

Airdrop requested for 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc

Check Balance

ss-wallet balance 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc

Output:

Balance for 5aj3BoJSsVcgGJg59EvYGZWutu3tvo977SLnDhzdtesc: 1 SOL

Send Transaction

ss-wallet send my-wallet 62x7R9JCfVgxZgwKq4FbW6aoKHjPdScvG8HXD5eiz2Wr 0.1

Output:

Transaction successful with signature: 59dtaC8TGXrszRiW9WoqGAmq1zhhDMWHnVKq4PBqUHGXrDsD5p2M8HperktcBHfeKd6THMw4yCzxDeiQfRegTse6

License

This project is licensed under the ISC License.