Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Jan 20, 2025
1 parent f6b4326 commit 5b36934
Show file tree
Hide file tree
Showing 13 changed files with 2,810 additions and 175 deletions.
1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/.spago
src/Contract
build
.spec-results
7 changes: 0 additions & 7 deletions example/bootstrap.dhall

This file was deleted.

8 changes: 8 additions & 0 deletions example/build-contracts/spago.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package:
dependencies:
- chanterelle
name: build-contracts
run:
main: ChanterelleMain
execArgs:
- "build"
13 changes: 6 additions & 7 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,27 @@
"description": "Chanterell demo project",
"license": "ISC",
"scripts": {
"postinstall": "spago -x bootstrap.dhall build",
"chanterelle-build": "spago -x bootstrap.dhall run -m ChanterelleMain --node-args=\"build\"",
"postinstall": "spago build",
"chanterelle-build": "spago run -p build-contracts",
"build": "spago build",
"test": "spago test",
"deploy": "spago run",
"deploy": "spago run -p deploy",
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\"",
"tidy-check": "purs-tidy check \"src/**/*.purs\" \"test/**/*.purs\""

},
"dependencies": {
"ethjs-provider-http": "^0.1.6",
"keccak": "^1.0.2",
"keccak": "^3.0.0",
"rlp": "^2.0.0",
"secp256k1": "^3.0.1"
"secp256k1": "^5.0.0"
},
"devDependencies": {
"mkdirp": "^0.5.1",
"openzeppelin-contracts": "^4.0.0",
"purescript": "^0.15.8",
"purescript-psa": "^0.8.2",
"purs-tidy": "^0.10.0",
"solc": "^0.8",
"spago": "^0.21.0"
"spago": "next"
}
}
1 change: 0 additions & 1 deletion example/packages.dhall

This file was deleted.

24 changes: 0 additions & 24 deletions example/spago.dhall

This file was deleted.

Loading

0 comments on commit 5b36934

Please sign in to comment.