Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change adder template #1857

Merged
merged 3 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ members = [

"contracts/examples/adder",
"contracts/examples/adder/meta",
"contracts/examples/adder/interact",
"contracts/examples/adder/interactor",
"contracts/examples/esdt-transfer-with-fee",
"contracts/examples/esdt-transfer-with-fee/meta",
"contracts/examples/bonding-curve-contract",
Expand Down
5 changes: 0 additions & 5 deletions contracts/examples/adder/interact/adder-owner.pem

This file was deleted.

23 changes: 0 additions & 23 deletions contracts/examples/adder/interact/alice.json

This file was deleted.

275 changes: 0 additions & 275 deletions contracts/examples/adder/interact/src/basic_interact.rs

This file was deleted.

6 changes: 0 additions & 6 deletions contracts/examples/adder/interact/src/basic_interact_main.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Pem files are used for interactions, but shouldn't be committed
*.pem
*.json
!adder-owner.pem

# Temporary storage of deployed contract address, so we can preserve the context between executions.
state.toml

# Trace file of interactor tooling
interactor_trace.scen.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
[package]
name = "basic-interact"
name = "basic-interactor"
version = "0.0.0"
authors = ["MultiversX <[email protected]>"]
edition = "2021"
publish = false

[[bin]]
name = "basic-interact"
path = "src/basic_interact_main.rs"
name = "basic-interactor"
path = "src/basic_interactor_main.rs"

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

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.6"
tokio = { version = "1.24" }
path = "src/basic_interactor.rs"

[dependencies.adder]
path = ".."
Expand All @@ -25,5 +19,11 @@ path = ".."
version = "0.54.0"
path = "../../../../framework/snippets"

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.6"
tokio = { version = "1.24" }

[features]
chain-simulator-tests = []
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

# chain_type = 'simulator'
# gateway_uri = 'http://localhost:8085'

chain_type = 'real'
gateway_uri = 'https://devnet-gateway.multiversx.com'

Loading
Loading