Skip to content
 
 

Repository files navigation

RedDuck

PLGRND

Build Solana flows by dragging nodes — keypairs, PDAs, instructions, transactions — and run them against a live cluster.


PLGRND is a visual playground for Solana. Instead of writing a script to derive an ATA, build an instruction and send a transaction, you wire together nodes on a canvas: each one is a ready, tested block of code with typed inputs and outputs. Values flow along the edges and evaluate live, so you see the actual public key, the actual lamport amount, the actual transaction at every step. Import a program's IDL and its instructions become nodes you can call. Every flow encodes into its own URL, so a working example is a link you can send to someone.

Built with

Area Technology
App React 19 + TypeScript, Vite
Canvas React Flow (@xyflow/react)
Solana @solana/web3.js, @solana/spl-token, Anchor for IDL decoding
Wallets Solana Wallet Adapter
Crypto tweetnacl, bip39, ed25519-hd-key, bs58
State & data Zustand, TanStack Query
UI Tailwind CSS v4, Radix UI, lucide-react, sonner
Tooling Yarn 4 workspaces, ESLint, Prettier
Deploy Cloudflare Workers (wrangler)

How it works

flowchart LR
    A[Drag nodes onto canvas] --> B[Wire outputs to inputs]
    B --> C{Flow graph}
    C -->|evaluated live| D[Values: keys, PDAs, amounts]
    C -->|IDL import| E[Program instructions]
    D --> F[Transaction builder]
    E --> F
    F -->|wallet signature| G[Solana RPC]
    C -->|encoded to URL| H[Shareable link]
Loading
  1. Pick nodes from the menu and drop them on the canvas — each category maps to a piece of the Solana model.
  2. Connect handles; the graph re-evaluates on every change, so downstream nodes update as you type.
  3. Feed the result into a transaction builder, connect a wallet, and send it to the cluster of your choice.
  4. Hit share — the whole graph is compressed into the URL hash. Open it in view mode to hand someone a read-only walkthrough, or embed it in an iframe.

Node categories

Category Nodes
Input Text, number, display, comment
Math / String / Logic Arithmetic, combine, split, substring, search, replace, length, compare, equality, if, booleans
Crypto Keypair, mnemonic, private key, hash, sign, verify signature
Wallet / Network Connected wallet, cluster selection, balance
Utils SOL ↔ lamports, token amounts, ATA derivation, rent exemption, public key validation, string encode/decode
Programs IDL import, program instructions, program accounts, PDA derivation
Transactions Transaction builder, transaction, transaction view

Built-in example flows cover hashing, signature verification, balance checking, a SOL transfer and a program call — each one loads straight onto the canvas.

Getting started

Prerequisites: Node.js v22 or higher, Yarn 4+.

yarn install    # install workspace dependencies
yarn web:dev    # run the web app in development mode
yarn web:build  # production build

Optionally set VITE_PUBLIC_SOLANA_RPC to point the app at your own RPC endpoint.

License

MIT

About

Visual node-based playground for Solana. Wire keypairs, PDAs, instructions and transactions together on a canvas, watch values evaluate live against a real cluster, import any program's IDL as nodes, and share a whole flow as a single URL.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages