Skip to content

Commit

Permalink
Implement NFT example (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle authored Oct 24, 2024
1 parent 82dc621 commit 3895ff5
Show file tree
Hide file tree
Showing 6 changed files with 735 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/nft",
"x/contracts/examples/multisig",
]
resolver = "2"
Expand Down
19 changes: 19 additions & 0 deletions x/contracts/examples/nft/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "nft"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["lib"]

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

[dev-dependencies]
wasmlanche = { workspace = true, features = ["debug", "test"] }

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

[features]
bindings = ["wasmlanche/bindings"]
6 changes: 6 additions & 0 deletions x/contracts/examples/nft/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 3895ff5

Please sign in to comment.