Skip to content

A front-end staking framework built for the Solana blockchain, using next.js and Gemworks.

License

Notifications You must be signed in to change notification settings

UPLukeet/Solana-staking-front-end

Repository files navigation

Introduction

This is a front-end framework built using Next.js and Gemworks.

This project includes:

Getting Started

First, run the development server:

yarn
yarn run dev

Setting up staking farm

Set up your farm using the farm manager below. https://www.gemfarm.gg/manager Make sure reward A is your chosen reward if you only want one reward type pass this as reward B So11111111111111111111111111111111111111112.

To add your farm to the Next.js front-end simply create a .env file at the root of the project. Add a variables inside the file called NEXT_PUBLIC_FARM_PUBLICKEY=YOUR_GEMFARM_PUBLICKEY_GOES_HERE NEXT_PUBLIC_BURNER_WALLET=YOUR_BURNER_WALLET_PUBLICKEY_GOES_HERE NEXT_PUBLIC_REWARD_TOKEN_MINT=YOUR_REWARD_TOKEN_PUBLICKEY_GOES_HERE NEXT_PUBLIC_REWARD_TOKEN=YOUR_TOKEN_NAME_GOES_HERE

If you have have a white list setup for your farm replace the contents of white-list.ts with your desired mints.

About

A front-end staking framework built for the Solana blockchain, using next.js and Gemworks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published