Skip to content

vincent-huang/simple-staking

Folders and files

NameName
Last commit message
Last commit date
Jun 21, 2024
May 30, 2024
Jun 13, 2024
Jun 18, 2024
Jul 2, 2024
Jul 1, 2024
May 27, 2024
Jun 13, 2024
Apr 25, 2024
Jun 13, 2024
Jun 13, 2024
Jun 13, 2024
Jun 13, 2024
May 6, 2024
Jun 18, 2024
Jun 18, 2024
May 27, 2024
Jun 18, 2024
Jun 18, 2024
Jun 18, 2024
Jul 2, 2024
Jul 2, 2024
Mar 7, 2024
Mar 7, 2024
May 27, 2024
Jun 18, 2024

Repository files navigation

Bitcoin Staking dApp

The Bitcoin Staking dApp is a web application integrating with extension wallets that allows a user to stake their Bitcoin. It is hosted by Babylon and serves as a reference implementation for entities that want to set up their own staking website.

Develop

To set up a development environment, first specify the required environment variables in the .env.local file in the root directory:

cp .env.example .env.local

where,

  • NEXT_PUBLIC_MEMPOOL_API specifies the mempool.space host to use for Bitcoin node queries
  • NEXT_PUBLIC_API_URL specifies the back-end API to use for the staking system queries
  • NEXT_PUBLIC_NETWORK specifies the BTC network environment

Then, to start a development server:

npm run dev

Wallet Integration

Instructions for wallet integration can be found in this document.

About

Simple staking application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages