Skip to content

rsrbk/starkgate-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.3%
  • Solidity 24.0%
  • Cairo 13.5%
  • CMake 12.9%
  • Other 0.3%