Code Monkey home page Code Monkey logo

teleswap-contracts's Introduction

TeleSwap Protocol V1

This repository contains the smart contracts for the TeleSwap protocol. The repository uses Hardhat as development environment for compilation, testing and deployment tasks.

What is TeleSwap?

TeleSwap is a fully decentralized cross-chain settlement protocol that facilitates the transfer or exchange of assets between Bitcoin and EVM chains quickly and securely.

Documentation

See the link below:

Audits

Community

Install Dependencies

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

yarn

Compile Contracts

If you want to compile the codes enter the below command:

yarn clean & yarn build

Run Tests

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

yarn test

Deploy Contracts

You can deploy the contracts on networks specified in package.json with the following command:

yarn deploy:network

Set Variables

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

yarn settlement:network & yarn collateral_pool_scripts:network

Run the below command with a different private key:

yarn lockers_settlement:network

If a contract address has been changed, update the address in other contracts by the following command:

yarn global_variables_settlement:network

teleswap-contracts's People

Contributors

mahyardaneshpajooh avatar mhddrb avatar niushaaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.