Skip to content

Commit

Permalink
Readme (#10)
Browse files Browse the repository at this point in the history
* Create README.md

* Update README.md

* Update README.md

Co-authored-by: Apoorv Sadana <[email protected]>

* Update README.md

Co-authored-by: Apoorv Sadana <[email protected]>

* Update README.md

Co-authored-by: Apoorv Sadana <[email protected]>

* Update README.md

Co-authored-by: Apoorv Sadana <[email protected]>

---------

Co-authored-by: Apoorv Sadana <[email protected]>
  • Loading branch information
byteZorvin and apoorvsadana authored Aug 13, 2024
1 parent afb386a commit 4f7a8ec
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Starknet Bridge
`starknet_bridge` are the bridges that can be used by the appchains that will deployed using Starknet [Madara](https://github.com/keep-starknet-strange/madara) stack

This repository contains the code for the L2<>L3 bridges that can be used to bridge funds between an appchain and Starknet. This is similar to [starkgate](https://github.com/starknet-io/starkgate-contracts) which contains the bridge contracts between Ethereum and Starknet.

## Architecture
- `token_bridge.cairo`: The bridge that will be deployed on Starknet. Users can use this bridge to add tokens and deposit and withdraw funds.
- `withdrawal_limit/component.cairo`: A component used to manage the withdrawal limits for token that have this feature enabled.

The bridge relies on the core messaging contract from [piltover](https://github.com/keep-starknet-strange/piltover) which is the Cairo version of the Starknet Core Contracts.

## Build
To build the project run:
```shell
scarb build
```

## Test
To run the testcases of the project run:
```shell
scarb test
```

0 comments on commit 4f7a8ec

Please sign in to comment.