Stake in minutes!
Use this repo to test programmatic staking flows using Figment's API. Each directory contains examples for a different custody solution.
| Directory | Description | Protocols |
|---|---|---|
fireblocks/ |
Fireblocks MPC custody | Avalanche, Cardano, Ethereum, Solana, Sui |
prop/ |
Proprietary/self-custody (hot wallet) | Ethereum, Solana |
- Create a Figment API key using these instructions
cdinto the directory of the custody solution you'll usecp .env.example .envand add your credentialsnpm install- Run the protocol you want to test:
node protocols/solana.js
├── fireblocks/
│ ├── .env.example
│ ├── package.json
│ └── protocols/
│ ├── avalanche.js
│ ├── cardano.js
│ ├── ethereum.js
│ ├── solana.js
│ └── sui.js
└── prop/
├── .env.example
├── package.json
└── protocols/
├── ethereum.ts
└── solana.js