-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3b5365
commit 527d523
Showing
27 changed files
with
125 additions
and
51 deletions.
There are no files selected for viewing
Binary file not shown.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
sidebar_label: "Contact" | ||
sidebar_position: 7 | ||
--- | ||
|
||
# Contact Us | ||
|
||
For feedback, bug report, request, or general Subnet discussion please feel free to make a post on [XDC Forum](https://forum.xinfin.org/) or [GitHub Issues](https://github.com/XinFinOrg/XDC-Subnet/issues) | ||
|
||
|
||
For troubleshooting, you can talk to us at [Telegram Support Group](./3_troubleshooting.md#telegram-troubleshooting-support-group) and we will check as soon as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
sidebar_label: "Faucet" | ||
sidebar_position: 2 | ||
--- | ||
# Faucet | ||
|
||
In Subnets, all native tokens are initially assigned to the Grandmaster Wallet. To allow users to use the Subnet, we have to distribute the tokens out of the Grandmaster. We have provided convenient scripts for you to easily share Subnet tokens to your users. | ||
|
||
## One-time Transfer | ||
|
||
Under `generated` directory run the Faucet script. | ||
|
||
``` | ||
./scripts/faucet.sh | ||
``` | ||
|
||
The script will ask for your source wallet private key. You can use the Grandmaster Wallet(check `keys.json` file for the private key). | ||
Then input the destination wallet and the transfer amount. | ||
|
||
![Example](./img/faucet.png) | ||
|
||
## Faucet Server | ||
|
||
Under `generated` directory run the Faucet server script. | ||
|
||
``` | ||
./scripts/faucet-server.sh | ||
``` | ||
|
||
The script will ask for your source wallet private key. you can use the Grandmaster Wallet(check `keys.json` for the private key). | ||
By default, the server is hosted on port `5211` of your machine. Then, on your browser, visit the url: `http://127.0.0.1:5211` | ||
|
||
![Example](./img/faucet-server1.png) | ||
|
||
Input your destination wallet or feel free to generate a random wallet via Address Generator. | ||
|
||
![Example](./img/faucet-server2.png) | ||
|
||
Submit and wait for confirmation. | ||
|
||
![Example](./img/faucet-server3.png) | ||
|
||
You can host this on any server and allow users to make token requests by themselves. | ||
|
||
## Transfer Subnet Funds Without Faucet | ||
|
||
The Faucet is not neccessary needed for funds transfer, most Ethereum compatible web3 wallet will also work. | ||
|
||
First import a new wallet with the Grandmaster private key. Then add a custom network pointing to your Subnet RPC URL. Finally, use the web3 wallet for tokens transfer. | ||
|
||
|
||
## Faucet Source Code | ||
|
||
Please feel free to check the below repositories for the Subnet Faucet source code. | ||
|
||
https://github.com/XinFinOrg/XinFin-Node/tree/master/subnet/deployment-generator/scripts | ||
|
||
https://github.com/XinFinOrg/XinFin-Node/tree/master/subnet/deployment-generator/src/faucet.js |
4 changes: 2 additions & 2 deletions
4
docs/deployment/4_blockchain_explorer.md → docs/usage/3_explorer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
{ | ||
"label": "UI Usage Guide", | ||
"position": 4, | ||
"label": "Using the Subnet", | ||
"position": 5, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "The guide for XDC Subnet user interface" | ||
"description": "The guide to using XDC-Subnet" | ||
} | ||
} | ||
} | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "UI Usage Guide", | ||
"position": 1, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "The guide for XDC Subnet user interface" | ||
} | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes