Skip to content

Commit

Permalink
Rebranding remains.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Sep 13, 2023
1 parent 6ca8ffa commit c103290
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion contracts/core/wegld-swap/interaction/snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ALICE="~/multiversx-sdk/testwallets/latest/users/alice.pem"
BOB="~/multiversx-sdk/testwallets/latest/users/bob.pem"
ADDRESS=$(mxpy data load --key=address-testnet-egld-esdt-swap)
DEPLOY_TRANSACTION=$(mxpy data load --key=deployTransaction-testnet)
PROXY=https://testnet-gateway.elrond.com
PROXY=https://testnet-gateway.multiversx.com
CHAIN_ID=T

ESDT_SYSTEM_SC_ADDRESS=erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u
Expand Down
2 changes: 1 addition & 1 deletion contracts/examples/adder/interaction/testnet.snippets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ALICE="${USERS}/alice.pem"
ADDRESS=$(mxpy data load --key=address-testnet)
DEPLOY_TRANSACTION=$(mxpy data load --key=deployTransaction-testnet)
PROXY=https://testnet-api.elrond.com
PROXY=https://testnet-api.multiversx.com

deploy() {
mxpy --verbose contract deploy --project=${PROJECT} --recall-nonce --pem=${ALICE} --gas-limit=50000000 --arguments 0 --send --outfile="deploy-testnet.interaction.json" --proxy=${PROXY} --chain=T || return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOB="${USERS}/bob.pem"

ADDRESS=$(mxpy data load --key=address-testnet)
DEPLOY_TRANSACTION=$(mxpy data load --key=deployTransaction-testnet)
PROXY=https://testnet-api.elrond.com
PROXY=https://testnet-api.multiversx.com

DEPLOY_GAS="80000000"
TARGET=10
Expand Down
2 changes: 1 addition & 1 deletion contracts/examples/nft-minter/interaction/snippets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ALICE="" # PEM path
ADDRESS=$(mxpy data load --key=address-devnet)
DEPLOY_TRANSACTION=$(mxpy data load --key=deployTransaction-devnet)
PROXY=https://devnet-gateway.elrond.com
PROXY=https://devnet-gateway.multiversx.com
CHAIN_ID=D

deploy() {
Expand Down
4 changes: 2 additions & 2 deletions contracts/examples/ping-pong-egld/interaction/snippets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PEM_FILE="./ping-pong.pem"
PING_PONG_CONTRACT="./elrond-wasm-rs/contracts/examples/ping-pong-egld"
PING_PONG_CONTRACT="./mx-sdk-rs/contracts/examples/ping-pong-egld"

PROXY_ARGUMENT="--proxy=https://devnet-api.elrond.com"
PROXY_ARGUMENT="--proxy=https://devnet-api.multiversx.com"
CHAIN_ARGUMENT="--chain=D"

build_ping_pong() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ VAULT_ADDRESS_HEX="0x$(mxpy wallet bech32 --decode ${VAULT_ADDRESS_BECH32})"

ECHO_ARGS_FUNC_NAME=echo_args_async

PROXY=https://testnet-api.elrond.com
PROXY=https://testnet-api.multiversx.com
CHAIN_ID=T

deployForwarder() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TOKEN_ID=""
TOKEN_ID_HEX="0x$(echo -n ${TOKEN_ID} | xxd -p -u | tr -d '\n')"
TOKEN_AMOUNT_PER_TX=100

PROXY="https://testnet-gateway.elrond.com"
PROXY="https://testnet-gateway.multiversx.com"
CHAIN_ID="T"

SC_WITH_ROLE_ADDRESS_BECH32=
Expand Down
6 changes: 3 additions & 3 deletions tools/mxpy-snippet-generator/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ pub const NFT_TRANSFER_FUNC_NAME: &str = "ESDTNFTTransfer";
pub const MULTI_TRANSFER_FUNC_NAME: &str = "MultiESDTNFTTransfer";

// default proxies
pub const TESTNET_PROXY: &str = "https://testnet-gateway.elrond.com";
pub const DEVNET_PROXY: &str = "https://devnet-gateway.elrond.com";
pub const MAINNET_PROXY: &str = "https://gateway.elrond.com";
pub const TESTNET_PROXY: &str = "https://testnet-gateway.multiversx.com";
pub const DEVNET_PROXY: &str = "https://devnet-gateway.multiversx.com";
pub const MAINNET_PROXY: &str = "https://gateway.multiversx.com";

// default chain IDs
pub const TESTNET_CHAIN_ID: &str = "T";
Expand Down

0 comments on commit c103290

Please sign in to comment.