diff --git a/docs/_get-testnet-token.md b/docs/_get-testnet-token.md index b62464d..a1acceb 100644 --- a/docs/_get-testnet-token.md +++ b/docs/_get-testnet-token.md @@ -2,36 +2,6 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -Run the following command to get testnet ELF tokens from faucet. Remember to either export your wallet address or replace $WALLET_ADDRESS with your wallet address. - -```bash title="Terminal" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` -To check your wallet's current ELF balance: -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` -You will be prompted for the following: - -```sh -Enter the required param : **ELF** -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the Result displaying your wallet's ELF balance. - - - - Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - \ No newline at end of file diff --git a/docs/quick-start/developers/_deploy.md b/docs/quick-start/developers/_deploy.md index 61df488..1674a1c 100644 --- a/docs/quick-start/developers/_deploy.md +++ b/docs/quick-start/developers/_deploy.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_dao.md b/docs/quick-start/developers/_deploy_dao.md index 5466ef8..2e662cd 100644 --- a/docs/quick-start/developers/_deploy_dao.md +++ b/docs/quick-start/developers/_deploy_dao.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_expense_tracker.md b/docs/quick-start/developers/_deploy_expense_tracker.md index 1b79bd6..59dbd7e 100644 --- a/docs/quick-start/developers/_deploy_expense_tracker.md +++ b/docs/quick-start/developers/_deploy_expense_tracker.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_lottery.md b/docs/quick-start/developers/_deploy_lottery.md index 77249bb..9148306 100644 --- a/docs/quick-start/developers/_deploy_lottery.md +++ b/docs/quick-start/developers/_deploy_lottery.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_single_pool_staking.md b/docs/quick-start/developers/_deploy_single_pool_staking.md index a334c07..a8fecff 100644 --- a/docs/quick-start/developers/_deploy_single_pool_staking.md +++ b/docs/quick-start/developers/_deploy_single_pool_staking.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_tic_tac_toe.md b/docs/quick-start/developers/_deploy_tic_tac_toe.md index c560d69..5ae97f1 100644 --- a/docs/quick-start/developers/_deploy_tic_tac_toe.md +++ b/docs/quick-start/developers/_deploy_tic_tac_toe.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/quick-start/developers/_deploy_todo.md b/docs/quick-start/developers/_deploy_todo.md index a3647a9..607ab0c 100644 --- a/docs/quick-start/developers/_deploy_todo.md +++ b/docs/quick-start/developers/_deploy_todo.md @@ -44,76 +44,10 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - -**1. Get Testnet ELF Tokens:** - -To receive testnet ELF tokens, run this command after replacing `$WALLET_ADDRESS` and `$WALLET_PASSWORD` with your wallet details: - - - -```bash title="Terminal" -export WALLET_ADDRESS="YOUR_WALLET_ADDRESS" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -```bash title="Command Prompt" -$headers = @{ - "accept" = "application/json" -} - -$env:WALLET_ADDRESS = "YOUR_WALLET_ADDRESS" - -Invoke-WebRequest -Uri "https://faucet.aelf.dev/api/claim?walletAddress=$env:WALLET_ADDRESS" -Method POST -Headers $headers -Body "" -``` - - - - -**2. Check ELF Balance:** - -To check your ELF balance, use: - - - -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -```bash title="Command Prompt" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $env:WALLET_ADDRESS -p $env:WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` - - - -You will be prompted for the following: - -```sh title="Terminal" -Enter the required param : ELF -Enter the required param : **$WALLET_ADDRESS** -``` - -You should see the result displaying your wallet's ELF balance. - - - - Go to https://faucet-ui.aelf.dev Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - - **Deploy Smart Contract:** The smart contract needs to be deployed on the chain before users can interact with it. diff --git a/docs/tools/faucet/index.md b/docs/tools/faucet/index.md index da24f60..f620f2f 100644 --- a/docs/tools/faucet/index.md +++ b/docs/tools/faucet/index.md @@ -20,33 +20,11 @@ To deploy smart contracts or execute on-chain transactions on aelf, you'll requi **Get ELF Tokens** - - - -Run the following command to get testnet ELF tokens from faucet. Remember to either export your wallet address or replace $WALLET_ADDRESS with your wallet address. - -```bash title="Terminal" -curl -X POST "https://faucet.aelf.dev/api/claim?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` -To check your wallet's current ELF balance: -```bash title="Terminal" -aelf-command call ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx -a $WALLET_ADDRESS -p $WALLET_PASSWORD -e https://tdvw-test-node.aelf.io GetBalance -``` -You will be prompted for the following: -Enter the required param \: **ELF** -Enter the required param \: **$WALLET_ADDRESS** - -You should see the Result displaying your wallet's ELF balance. - - - - -Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). Enter your address and click `Get Tokens`. +- Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). +- Enter your address and click `Get Tokens`. ![result](/img/get-token-ui.png) - - ### 2.2 Getting Testnet Token Type SEED Token @@ -54,24 +32,12 @@ To acquire testnet Token type SEED for creating fungible or non-fungible tokens **Get Token Type Seed Token** - - - -Run the following command to get testnet SEED token from faucet. Remember to either export your wallet address or replace $WALLET_ADDRESS with your wallet address. - -```bash title="Terminal" -curl -X POST "https://faucet.aelf.dev/api/claim-seed?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). Click on the dropdown to select "Token Seed". Enter your address and click `Get Seed`. +- Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). +- Click on the dropdown to select **"Token Seed"**. +- Enter your address and click `Get Seed`. ![result](/img/get-testnet-token-seed.png) - - ### 2.3 Getting Testnet NFT Type SEED Token @@ -79,21 +45,9 @@ To acquire testnet NFT type SEED for creating fungible or non-fungible tokens on **Get NFT Type Seed Token** - - - -Run this command to get testnet NFT type SEED token from faucet. Remember to either export your wallet address or replace $WALLET_ADDRESS with your wallet address. - -```bash title="Terminal" -curl -X POST "https://faucet.aelf.dev/api/claim-nft-seed?walletAddress=$WALLET_ADDRESS" -H "accept: application/json" -d "" -``` - - - - -Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). Click on the dropdown to select "NFT Seed". Enter your address and click `Get Seed`. +- Go to this url [https://faucet-ui.aelf.dev](https://faucet-ui.aelf.dev). +- Click on the dropdown to select **"NFT Seed"**. +- Enter your address and click `Get Seed`. ![result](/img/get-testnet-nft-seed.png) - - \ No newline at end of file