Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwartz/simple-staking
https://github.com/xwartz/simple-staking
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xwartz/simple-staking
- Owner: xwartz
- License: other
- Created: 2024-06-06T10:03:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T03:56:25.000Z (5 months ago)
- Last Synced: 2024-10-14T08:10:50.186Z (2 months ago)
- Language: TypeScript
- Homepage: https://babylon-staking.vercel.app
- Size: 3.06 MB
- Stars: 0
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 queriesThen, to start a development server:
```bash
npm run dev
```## Wallet Integration
Instructions for wallet integration can be found in this
[document](./docs/WalletIntegration.md).