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 🙏

© 2026 – Pkg Stats / Ryan Hefner

pikeperps

v1.1.0

Published

Pike Perps CLI - Trade tokens and real world assets on Mantle

Readme

Pike Perps CLI

Trade tokens and real world assets on Mantle from the command line.

Installation

npm install -g pikeperps

Quick Start

# Create a new wallet
pike wallet setup

# View your balance
pike wallet balance

# Browse available tokens
pike tokens list

# View trending tokens
pike tokens trending

Terminal UI (TUI)

Launch the interactive terminal dashboard for a full-screen trading experience:

pike terminal    # Launch TUI dashboard
pike tui         # Alias for terminal

The TUI provides:

  • Real-time portfolio overview with balance and positions
  • Live price charts and market data
  • Token watchlist with price updates
  • Position management interface
  • Keyboard navigation (Tab to switch panels, q to quit)

Commands

Wallet

pike wallet setup       # Create or import a wallet
pike wallet show        # Display wallet address
pike wallet balance     # Check MNT and token balances
pike wallet export      # Export private key

Tokens

pike tokens list              # List all available tokens
pike tokens trending          # Show trending tokens by volume
pike tokens search <query>    # Search tokens by name or symbol
pike tokens info <address>    # Get detailed token information

Trading

pike trade buy <token> <amount>     # Buy tokens with MNT
pike trade sell <token> <amount>    # Sell tokens for MNT
pike trade quote <token> <amount>   # Get price quote

Perpetuals

pike perp open <token>        # Open a leveraged position
pike perp close <positionId>  # Close a position
pike perp list                # List all open positions
pike perp pnl                 # View profit and loss

Options for opening positions:

  • -s, --side <side> - Position side: long or short (default: long)
  • -m, --margin <amount> - Margin amount in MNT
  • -l, --leverage <number> - Leverage multiplier (1-100)

Example:

pike perp open 0x123...abc --side long --margin 1 --leverage 10

Real World Assets (RWA)

pike rwa list                 # List available RWA assets
pike rwa open <asset>         # Open RWA position
pike rwa close <positionId>   # Close RWA position
pike rwa positions            # View RWA positions

Available RWA assets:

  • Gold (XAU/USD)
  • Silver (XAG/USD)
  • Crude Oil (WTI)
  • Bitcoin (BTC/USD)
  • Ethereum (ETH/USD)
  • Solana (SOL/USD)

Portfolio

pike portfolio      # View holdings and positions
pike leaderboard    # Top traders by PnL
pike history        # Transaction history

Configuration

pike config show              # View current configuration
pike config set <key> <value> # Update configuration
pike config reset             # Reset to defaults

Configuration options:

  • network - Network to use (testnet or mainnet)
  • defaultSlippage - Default slippage percentage (0-50)
  • rpcUrl - Custom RPC URL
  • subgraphUrl - Custom subgraph URL

Terminal

pike terminal    # Launch interactive TUI dashboard
pike tui         # Alias for terminal command

Wallet Security

Your private key is encrypted with AES-256-GCM and stored locally at ~/.pike/keystore.json. A password is required for every transaction.

Wallet options during setup:

  • Generate a new wallet with recovery phrase
  • Import an existing private key
  • Import from mnemonic phrase

Network

Pike Perps CLI operates on Mantle Sepolia testnet by default. You can switch networks using:

pike config set network mainnet

Environment Variables

  • PIKEPERPS_SUBGRAPH_URL - Override the default subgraph endpoint

Requirements

  • Node.js 18.0.0 or higher

License

MIT