Skip to content

Commit

Permalink
Merge pull request #22 from multiversx/interactor
Browse files Browse the repository at this point in the history
interactor
  • Loading branch information
BiancaIalangi authored Dec 20, 2024
2 parents c6c1068 + 5c981ed commit c603620
Show file tree
Hide file tree
Showing 16 changed files with 829 additions and 65 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@72dc7659e6945c8749d01ec28638843bae33437e
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.2.0
with:
rust-toolchain: stable
sc-meta-hash-git: ca051fc3d0c03ec1ce5624cf81bdada57b5fc3e2
mx-scenario-go-version: v3.0.0
enable-contracts-size-report: false
secrets:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[workspace]
resolver = "2"
members = ["ping-pong", "ping-pong/meta"]
members = ["ping-pong", "ping-pong/meta", "ping-pong/interactor"]
23 changes: 0 additions & 23 deletions ping-pong/interaction/Ping-pong.erdjs.md

This file was deleted.

Empty file removed ping-pong/interaction/out.json
Empty file.
39 changes: 0 additions & 39 deletions ping-pong/interaction/snippets.sh

This file was deleted.

5 changes: 5 additions & 0 deletions ping-pong/interactor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Pem files are used for interactions, but shouldn't be committed
*.pem

# Temporary storage of deployed contract address, so we can preserve the context between executions.
state.toml
31 changes: 31 additions & 0 deletions ping-pong/interactor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[package]
name = "ping-pong-interact"
version = "0.0.0"
authors = ["you"]
edition = "2021"
publish = false

[[bin]]
name = "ping-pong-interact"
path = "src/interact_main.rs"

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

[dependencies.ping-pong]
path = ".."

[dependencies.multiversx-sc-snippets]
version = "0.54.6"

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

[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 = []
7 changes: 7 additions & 0 deletions ping-pong/interactor/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

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

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

Loading

0 comments on commit c603620

Please sign in to comment.