Skip to content

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.

Notifications You must be signed in to change notification settings

DLC-link/dlc-btc-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLC.Link - iBTC Bridge

iBTC 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 iBTC tokens based on the amount of Bitcoin locked.

Installation

To install all the dependencies, run the following command:

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:
  yarn localhost
  • For deployed devnet attestors / regtest bitcoin:
   yarn devnet
  • For deployed testnet attestors / testnet bitcoin:
  yarn testnet
  • For deployed mainnet attestors / mainnet bitcoin:
   yarn mainnet

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages