Skip to content

Recipes on how to use StakeKit's API to build various self custodial staking flows

Notifications You must be signed in to change notification settings

stakekit/api-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StakeKit API Recipes

In this repository, you will find a few examples of how to use StakeKit's staking API to build various staking flows.

Getting started

Create a .env file in the root folder and fill it in with the appropriate variables.

cp .env.example .env

Recipes

To test a staking integration, make sure you have enough funds of the deposit token + and sufficient gas in your wallet to cover gas fees.

With ethers

> yarn ts-node recipes/ethers-stake.ts

With @stakekit/signers

> yarn ts-node recipes/stakekit-signers-stake.ts

About

Recipes on how to use StakeKit's API to build various self custodial staking flows

Topics

Resources

Stars

Watchers

Forks