mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 05:00:59 +03:00
add endpoints to examples .env
This commit is contained in:
parent
f9371771e6
commit
4215c327fd
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -2,4 +2,3 @@
|
||||
NETWORK=mainnet
|
||||
PRIVATE_KEY=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH
|
||||
ENDPOINT=https://api.explorer.aleo.org/v1
|
||||
|
||||
|
@ -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.
|
||||
|
@ -1,4 +1,5 @@
|
||||
|
||||
NETWORK=mainnet
|
||||
PRIVATE_KEY=APrivateKey1zkp2RWGDcde3efb89rjhME1VYA8QMxcxep5DShNBR6n8Yjh
|
||||
ENDPOINT=https://api.explorer.aleo.org/v1
|
||||
|
||||
|
@ -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 '{
|
||||
|
@ -2,4 +2,3 @@
|
||||
NETWORK=mainnet
|
||||
PRIVATE_KEY=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH
|
||||
ENDPOINT=https://api.explorer.aleo.org/v1
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user