-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated instructions and script #3
base: main
Are you sure you want to change the base?
Conversation
README.md
Outdated
|
||
please modify the the address in the script. | ||
On production, please use a separate admin account than test1 ( g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On production, please use a separate admin account than test1 ( g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5 ) | |
On production, please use a separate admin account than test1 ( `g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5` ) |
cmd/gnodiscord/faucet.go
Outdated
// Print faucet contract address | ||
// This is a hack, we should use gno.DerivePkgAddr(pkgPath string), | ||
// I had a problem to import github.com/gnolang/gno properly. Will fix it later. | ||
pkgAddr := crypto.AddressFromPreimage([]byte("pkgPath:" + opts.PkgPath)).Bech32() | ||
fmt.Println("- Please verify the address with contract deloyed on chain for ", opts.PkgPath) | ||
fmt.Println("- Please make sure deposit fund to this faucet contract: ", pkgAddr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add a TODO here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
@@ -14,15 +14,15 @@ In addition, it adds operational complexity and cost to operating an endpoint. | |||
|
|||
### Details | |||
|
|||
There are three issues we try to solve in the web-based faucet. | |||
There are four issues we try to solve in the web-based faucet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider revision:
There are four issues from the Web-Based Faucet that the Community Faucet Bot aims to solve:
- It is centralized and can be subject to abuse.
- First-time users need to submit multiple requests and are required to understand the fee structure to register and interact with the board.
-
A larger token allocation for the faucet account is needed to support a growing number of user registrations and requests to the board.
-
The faucet needs to utilize funds from a contract instead of a user account for added security and improved management going forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
No description provided.