Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlc-link/dlc-btc-website
dlcBTC Website is an interface for interacting with DLC.Link smart contracts and the Bitcoin blockchain. This platform provides a secure and efficient self-custodial way to lock Bitcoin as collateral and mint dlcBTC tokens based on the amount of Bitcoin locked.
https://github.com/dlc-link/dlc-btc-website
bitcoin dlc dlcbtc ethereum self-custodial token web3
Last synced: 4 days ago
JSON representation
dlcBTC Website is an interface for interacting with DLC.Link smart contracts and the Bitcoin blockchain. This platform provides a secure and efficient self-custodial way to lock Bitcoin as collateral and mint dlcBTC tokens based on the amount of Bitcoin locked.
- Host: GitHub
- URL: https://github.com/dlc-link/dlc-btc-website
- Owner: DLC-link
- Created: 2023-11-02T16:37:30.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-10-29T08:50:48.000Z (21 days ago)
- Last Synced: 2024-10-29T10:01:36.892Z (21 days ago)
- Topics: bitcoin, dlc, dlcbtc, ethereum, self-custodial, token, web3
- Language: TypeScript
- Homepage: https://mint.dlc.link
- Size: 3.95 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DLC.Link - dlcBTC Bridge
**dlcBTC Website** is an interface for interacting with DLC.Link smart contracts and the Bitcoin blockchain. This platform provides a secure and efficient self-custodial way to lock Bitcoin as collateral and mint dlcBTC tokens based on the amount of Bitcoin locked.
## Installation
To install all the dependencies, run the following command:
```bash
yarn install
```## Setup Environment Variables
This application uses environment variables for configuration. These are stored in `.env` files. There are different `.env` files for different environments:
- `.env.localhost`: For locally run attestors / regtest bitcoin.
- `.env.devnet`: For deployed devnet attestors / regtest bitcoin.
- `.env.testnet`: For deployed testnet attestors / testnet bitcoin.
- `.env.mainnet`: For deployed mainnet attestors / mainnet bitcoin.Copy the contents of the `.env` template file into the appropriate `.env` file for your environment and fill in the values. The template for the environment variables can be found in the `.env.template` file in the root directory of this project.
Please ensure that you replace the placeholders with your actual values.
## Running the Application
According to the environment you want to run the application in, you can run the following commands:
- For locally ran attestors / regtest bitcoin:
```bash
yarn localhost
```- For deployed devnet attestors / regtest bitcoin:
```bash
yarn devnet
```- For deployed testnet attestors / testnet bitcoin:
```bash
yarn testnet
```- For deployed mainnet attestors / mainnet bitcoin:
```bash
yarn mainnet
```