Skip to content

Commit

Permalink
Implement basic multisig example
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle committed Oct 3, 2024
1 parent 47849d8 commit 060c8dc
Show file tree
Hide file tree
Showing 5 changed files with 586 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"x/contracts/test/contracts/*",
"x/contracts/simulator",
"x/contracts/examples/tutorial",
"x/contracts/examples/multisig",
]
resolver = "2"

Expand Down
17 changes: 17 additions & 0 deletions x/contracts/examples/multisig/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "multisig"
version = "0.1.0"
edition = "2021"

[dependencies]
wasmlanche.workspace = true

[dev-dependencies]
counter = { path = "../counter", features = ["bindings"] }
wasmlanche = { workspace = true, features = ["debug", "test"] }

[build-dependencies]
wasmlanche = { workspace = true, features = ["build"] }

[features]
debug = ["wasmlanche/debug"]
6 changes: 6 additions & 0 deletions x/contracts/examples/multisig/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright (C) 2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

fn main() {
wasmlanche::build::build_wasm();
}
Loading

0 comments on commit 060c8dc

Please sign in to comment.