Skip to content

CoreSwap is a trustless protocol for bridging and exchanging BTC between BTC<>EVMs.

Notifications You must be signed in to change notification settings

kevin9936/coreBTC-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coreBTC protocol v1

This repository contains the smart contracts for the coreBTC protocol. The repository uses Hardhat as a development environment for compilation, testing, and deployment tasks. The project is forked from the https://github.com/TeleportDAO/teleswap-contracts project.

What is coreBTC?

coreBTC is a fully decentralized protocol for bridging BTC between Bitcoin and Core chain securely.

Audits

Community

Install dependencies

To start, clone the codes and install the required packages using:

yarn

Compile contracts

To compile the codes, use the below command:

yarn clean & yarn build

Run tests

You can run the entire test suite with the following command:

yarn test

Deploy contracts

You can deploy contracts on supported networks (testnet or mainnet) with the following command:

NETWORK= yarn deploy

Config contracts

After deployment, some variables need to be set using the following commands:

NETWORK= yarn init_config

Run the below command with a different private key to config upgradable contracts:

NETWORK= yarn config_upgradables

About

CoreSwap is a trustless protocol for bridging and exchanging BTC between BTC<>EVMs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.1%
  • Solidity 47.4%
  • Other 0.5%