Skip to content

Commit

Permalink
feat(cairo-contracts): scarb configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
remiroyc committed May 31, 2023
1 parent f9d3906 commit 24f7a04
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 358 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "$GITHUB_WORKSPACE/scarb-${{ env.SCARB_VERSION }}-x86_64-unknown-linux-gnu/bin" >> $GITHUB_PATH
- run: scarb build
working-directory: apps/blockchain
working-directory: apps/blockchain/contracts/starknet

test-ethereum-contracts:
runs-on: ubuntu-latest
Expand Down
8 changes: 0 additions & 8 deletions apps/blockchain/Scarb.toml

This file was deleted.

9 changes: 9 additions & 0 deletions apps/blockchain/contracts/starknet/Scarb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "starklane_contracts"
version = "1.0.0"

[cairo]
sierra-replace-ids = true

[[target.starknet-contract]]
sierra = true
3 changes: 3 additions & 0 deletions apps/blockchain/contracts/starknet/cairo_project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[crate_roots]
tests = "tests"
starklane = "src"
1 change: 1 addition & 0 deletions apps/blockchain/contracts/starknet/src/lib.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

349 changes: 0 additions & 349 deletions apps/blockchain/contracts/starknet/token/erc721.cairo

This file was deleted.

0 comments on commit 24f7a04

Please sign in to comment.