Skip to content

Commit

Permalink
mvx game sc first draft
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaicalinluca committed Oct 4, 2023
1 parent 4a3b26c commit c5c628c
Show file tree
Hide file tree
Showing 19 changed files with 1,333 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,6 @@ members = [
"contracts/seed-nft-minter/meta",
"contracts/token-release",
"contracts/token-release/meta",
"contracts/mvx-game-sc",
"contracts/mvx-game-sc/meta"
]
10 changes: 10 additions & 0 deletions contracts/mvx-game-sc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generated by Cargo
# will have compiled files and executables
/target/
*/target/

# The mxpy output
/output*/

# Mandos test trace
trace*.scen.json
15 changes: 15 additions & 0 deletions contracts/mvx-game-sc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "mvx-game-sc"
version = "0.0.0"
authors = [ "you",]
edition = "2018"
publish = false

[lib]
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.43.4"

[dev-dependencies.multiversx-sc-scenario]
version = "0.43.4"
3 changes: 3 additions & 0 deletions contracts/mvx-game-sc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# lib

`lib` is a simple Smart Contract.
14 changes: 14 additions & 0 deletions contracts/mvx-game-sc/meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "mvx-game-sc-meta"
version = "0.0.0"
edition = "2018"
publish = false
authors = [ "you",]

[dev-dependencies]

[dependencies.mvx-game-sc]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.43.4"
3 changes: 3 additions & 0 deletions contracts/mvx-game-sc/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<mvx_game_sc::AbiProvider>();
}
3 changes: 3 additions & 0 deletions contracts/mvx-game-sc/multiversx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"language": "rust"
}
Loading

0 comments on commit c5c628c

Please sign in to comment.