Skip to main content

PONS Lightning Setup

The Lightning API on Robinhood Chain works like Lightning on Solana: PumpDev holds a wallet for you, signs and sends each trade โ€” or token launch โ€” and you make one HTTP call. Get a wallet by creating a new one or importing a private key โ€” either way you receive an API key that identifies the wallet on every request.

Base URL: https://rhc.pumpdev.io

Keys are shown once

apiKey and privateKey are returned exactly once and are not recoverable. Anyone holding the API key can trade with the wallet's funds.


Step 1: Generate a Lightning Wallet & API Keyโ€‹

tip

If you would like to sign and send transactions with your own wallet instead of a Lightning wallet, use the PONS Trading API โ€” it needs no API key at all.

Click the button below to generate a new Robinhood Chain wallet and linked API key. You will then be able to use your API key to trade with the funds in the linked wallet.


Or import your own private key:

READ ALL THE FOLLOWING BEFORE PROCEEDING:

  • SECURELY SAVE YOUR PRIVATE KEY: You can withdraw funds by adding your private key to any EVM wallet software such as MetaMask or Rabby, on Robinhood Chain (chain ID 4663). Anyone with access to your private key can do the same.
  • SECURELY SAVE YOUR API KEY: Anyone with your API key can trade using the funds in your wallet.
  • Your keys will disappear upon navigating away from this page OR clicking the button again to create a new API key and wallet.
  • KEYS CANNOT BE RECOVERED IF LOST.

Programmatic Wallet Creationโ€‹

You can also create wallets via the API:

curl -X POST https://rhc.pumpdev.io/api/wallet/create \
-H 'Content-Type: application/json' \
-d '{"label":"my-bot"}'
{
"apiKey": "โ€ฆ",
"publicKey": "0xYourNewAddress",
"privateKey": "0xโ€ฆ",
"warning": "SAVE YOUR PRIVATE KEY AND API KEY SECURELY. โ€ฆ"
}

Import a walletโ€‹

curl -X POST https://rhc.pumpdev.io/api/wallet/import \
-H 'Content-Type: application/json' \
-d '{"privateKey":"0xโ€ฆ","label":"main"}'

privateKey is 32 bytes of hex, with or without the 0x prefix. The response carries apiKey and publicKey only.

Check a walletโ€‹

curl 'https://rhc.pumpdev.io/api/wallet/info?api-key=YOUR_KEY'
{ "publicKey": "0xโ€ฆ", "label": "my-bot", "createdAt": "โ€ฆ", "lastUsedAt": null, "balanceEth": "0.05" }

Step 2: Fund the walletโ€‹

Send ETH on Robinhood Chain to publicKey. It pays for both the trades and the gas โ€” there is nothing else to hold. Check the balance any time with GET /api/wallet/info.

Manage keys from your accountโ€‹

Keys created here can be attached to your PumpDev account ("Lightning API keys โ€” Robinhood Chain"), where you can also create new ones, import, unlink, or deactivate a key with one click. Deactivation stops trading immediately and cannot be undone.

Nextโ€‹

  • PONS Lightning Trade โ€” buy and sell in one call; a launch is tradeable from its first block, and the 99% launch second is refused for you rather than paid
  • PONS Trading API โ€” non-custodial trade-local, if you would rather hold your own keys
  • PONS API overview โ€” the feed, trading and launch endpoints together