Nouri-Anouar / Solana-staking-front-end

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:TypeScript 89.3%Language:JavaScript 8.8%Language:CSS 1.4%Language:Shell 0.5%