Skip to content

Commit dc0cc26

Browse files
authoredSep 20, 2024
docs: updated missing gnofaucet README (#2783)
The quickstart guide on the gno README had outdated gnofaucet information: https://github.com/gnolang/gno/blob/master/examples/gno.land/r/demo/boards/README.md#alternative-run-a-faucet-to-add-gnot Refactored and updated the orphaned gnofaucet README from: https://github.com/gnolang/gno/blob/98cc986cbeb4d911944711a102334eb5d0cb4727/gno.land/cmd/gnofaucet/README.md <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [x] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
1 parent 35152a6 commit dc0cc26

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed
 

‎contribs/gnofaucet/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Start a local faucet
2+
3+
## Step1:
4+
5+
Make sure you have started gnoland
6+
7+
../../gno.land/build/gnoland start -lazy
8+
9+
## Step2:
10+
11+
Start the faucet.
12+
13+
./build/gnofaucet serve -chain-id dev -mnemonic "source bonus chronic canvas draft south burst lottery vacant surface solve popular case indicate oppose farm nothing bullet exhibit title speed wink action roast"
14+
15+
By default, the faucet sends out 10,000,000ugnot (10gnot) per request.
16+
17+
## Step3:
18+
19+
Make sure you have started website
20+
21+
../../gno.land/build/gnoweb
22+
23+
Request testing tokens from following URL, Have fun!
24+
25+
http://localhost:8888/faucet

‎examples/gno.land/r/demo/boards/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ your `ACCOUNT_ADDR` and `KEYNAME`
5858

5959
Instead of editing `gno.land/genesis/genesis_balances.txt`, a more general solution (with more steps)
6060
is to run a local "faucet" and use the web browser to add $GNOT. (This can be done at any time.)
61-
See this page: https://github.com/gnolang/gno/blob/master/gno.land/cmd/gnofaucet/README.md
61+
See this page: https://github.com/gnolang/gno/blob/master/contribs/gnofaucet/README.md
62+
6263

6364
### Start the `gnoland` node.
6465

0 commit comments

Comments
 (0)