Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

marinade-finance/liquid-staking-referral-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marinade

liquid-staking-referral-app

This is a simple React app which showcases the usage of Marinade TS SDK to help you build your own applications based on Marinade!

This application can be tested here (devnet)!

Installation and usage

  1. Clone the repo and install dependencies
git clone git@github.com:marinade-finance/liquid-staking-referral-app.git
cd liquid-staking-referral-app
npm run install
  1. Set the Referral Code in src/components/marinade/MarinadeProvider.tsx so the code reads as:
...
const referralCode = new web3.PublicKey('<<YOUR REFERRAL CODE>>')
const config = new MarinadeConfig({ connection, publicKey, referralCode })
const marinade = new Marinade(config)
...
  1. Run it:
npm run dev

Now a new tab in your browser should be opened with the example app loaded.

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors