Overview
The StakeKit Signers package allows you to create a signing wallet instance from a mnemonic phrase or Ledger app and sign transactions. It supports custom derivation paths and multiple wallet mechanisms including MetaMask, Omni, Phantom, and Keplr.NPM Package
@stakekit/signers
GitHub
View source code
Installation
Supported Networks
- EVM Networks
- Non-EVM Networks
Production Networks:
Arbitrum, Avalanche, Base, BNB Chain, Celo, CoreDAO, Cronos, Ethereum, Harmony, Linea, Optimism, Polygon, Sonic, Unichain, VictionTestnets:
Base-Sepolia, Ethereum-Goerli, Ethereum-Holesky, Ethereum-Sepolia, Polygon-Amoy
Supported Wallets
Usage Examples
- Ethereum
- Solana
- Cosmos
Integration with Yield API
1
Get unsigned transaction
Call
/v1/actions/enter or /v1/actions/exit to receive unsigned transactions2
Create signing wallet
Use
getSigningWallet() with your mnemonic and network3
Sign transaction
Call
signingWallet.signTransaction(unsignedTx)4
Submit to network
Broadcast the signed transaction to the blockchain
Custom Derivation Paths
You can derive different wallets from the same mnemonic by changing theindex or walletType:
Development Setup
- Create
.envfile with variables from.env.example - Install dependencies:
Security Considerations
Use environment variables
Store mnemonics in secure environment variables
Server-side signing
Perform signing operations on secure backend servers
Next Steps
Shield
Validate transactions before signing
Quickstart
Complete integration guide

