diff --git a/.circleci/token/run.sh b/.circleci/token/run.sh index 431fdff172..fb6e582a2a 100644 --- a/.circleci/token/run.sh +++ b/.circleci/token/run.sh @@ -56,6 +56,7 @@ leo run mint_public aleo13ssze66adjjkt795z9u5wpq8h6kn0y2657726h4h3e3wfnez4vqsm30 echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Privately mint 100 tokens for Bob. @@ -125,6 +126,7 @@ leo run transfer_public aleo17vy26rpdhqx4598y5gp7nvaa9rk7tnvl6ufhvvf4calsrrqdaqy echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Privately transfer 20 tokens from Bob to Alice. @@ -199,6 +201,7 @@ leo run transfer_public_to_private aleo17vy26rpdhqx4598y5gp7nvaa9rk7tnvl6ufhvvf4 echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Convert 40 private tokens from Bob into 40 public tokens for Alice. diff --git a/examples/auction/run.sh b/examples/auction/run.sh index 40f668611e..fa8e9a62d2 100755 --- a/examples/auction/run.sh +++ b/examples/auction/run.sh @@ -63,6 +63,7 @@ leo run place_bid aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9p echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Have the second bidder place a bid of 90. @@ -85,6 +86,7 @@ leo run place_bid aleo1s3ws5tra87fjycnjrwsjcrnw2qxr8jfqqdugnf0xzqqw29q9m5pqem2u4 echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2GUmKbVsuc1NSj28pa1WTQuZaK5f1DQJAT6vPcHyWokG +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Have the auctioneer select the winning bid. diff --git a/examples/basic_bank/.env b/examples/basic_bank/.env index f79f0a688b..22a5c2dd00 100644 --- a/examples/basic_bank/.env +++ b/examples/basic_bank/.env @@ -2,4 +2,3 @@ NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH ENDPOINT=https://api.explorer.aleo.org/v1 - diff --git a/examples/basic_bank/run.sh b/examples/basic_bank/run.sh index a96e475aa4..f29d079438 100755 --- a/examples/basic_bank/run.sh +++ b/examples/basic_bank/run.sh @@ -71,6 +71,7 @@ leo run issue aleo1s3ws5tra87fjycnjrwsjcrnw2qxr8jfqqdugnf0xzqqw29q9m5pqem2u4t 10 echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Have the user deposit 50 tokens into the bank. diff --git a/examples/battleship/.env b/examples/battleship/.env index 59936403c4..a4b3c79999 100644 --- a/examples/battleship/.env +++ b/examples/battleship/.env @@ -1,4 +1,5 @@ NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 diff --git a/examples/battleship/run.sh b/examples/battleship/run.sh index af718af6b6..42fe90a988 100755 --- a/examples/battleship/run.sh +++ b/examples/battleship/run.sh @@ -70,6 +70,7 @@ echo " echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env leo run initialize_board 31u64 2207646875648u64 224u64 9042383626829824u64 aleo1s3ws5tra87fjycnjrwsjcrnw2qxr8jfqqdugnf0xzqqw29q9m5pqem2u4t || exit @@ -154,6 +155,7 @@ echo " echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env leo run play '{ @@ -225,6 +227,7 @@ echo " echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env leo run play '{ diff --git a/examples/token/.env b/examples/token/.env index f79f0a688b..22a5c2dd00 100644 --- a/examples/token/.env +++ b/examples/token/.env @@ -2,4 +2,3 @@ NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH ENDPOINT=https://api.explorer.aleo.org/v1 - diff --git a/examples/token/run.sh b/examples/token/run.sh index 11f5951d14..a15525f8f9 100755 --- a/examples/token/run.sh +++ b/examples/token/run.sh @@ -55,6 +55,7 @@ leo run mint_public aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Privately mint 100 tokens for Bob. @@ -124,6 +125,7 @@ leo run transfer_public aleo1s3ws5tra87fjycnjrwsjcrnw2qxr8jfqqdugnf0xzqqw29q9m5p echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Privately transfer 20 tokens from Bob to Alice. @@ -198,6 +200,7 @@ leo run transfer_public_to_private aleo1s3ws5tra87fjycnjrwsjcrnw2qxr8jfqqdugnf0x echo " NETWORK=mainnet PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh +ENDPOINT=https://api.explorer.aleo.org/v1 " > .env # Convert 40 private tokens from Bob into 40 public tokens for Alice.