Giter Site home page Giter Site logo

rsrbk / starkgate-contracts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from starknet-io/starkgate-contracts

0.0 0.0 0.0 128 KB

License: Apache License 2.0

Shell 0.04% Python 49.26% CMake 12.92% Dockerfile 0.26% Solidity 23.97% Cairo 13.55%

starkgate-contracts's Introduction

Starkgate - StarkNet L1 Bridges

Overview

This repository contains the Cairo and Solidity code for the L1<>L2 bridges of StarkNet, as well as StarkNet's ERC20 token contract implementation that interacts with the bridges. You can read the documentation of the bridges here and the documentation of the general L1<>StarkNet messaging system here.

You can find the L1 addresses and L2 addresses for the deployed bridges on StarkNet Alpha on Goerli and on Mainnet here.

Note: The frontend of the bridges, can be found here.

If you are not familiar with Cairo, you can find more details about it here.

Main module

src/starkware/starknet/apps/starkgate: The Cairo and Solidity contracts of the bridge, StarkNet's ERC20 token contract and corresponding tests.

Running the tests

The root directory holds a dedicated Dockerfile, which automatically builds the project and runs the unit tests. You should have docker installed (see https://docs.docker.com/get-docker/).

Build the docker image:

> docker build --tag starkgate .

Alternatively, you can build the project and run the tests:

> ./build.sh
> cd build/Release
> ctest -V

starkgate-contracts's People

Contributors

alon-dotan-starkware avatar dan-starkware avatar guyvelleman avatar remollemo 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.