Skip to content
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

updated instructions and script #3

wants to merge 7 commits into from

Conversation

piux2
Copy link
Contributor

@piux2 piux2 commented Jul 5, 2023

No description provided.

@piux2 piux2 requested a review from a team July 11, 2023 16:14
README.md Outdated Show resolved Hide resolved
README.md Outdated

please modify the the address in the script.
On production, please use a separate admin account than test1 ( g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5 )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On production, please use a separate admin account than test1 ( g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5 )
On production, please use a separate admin account than test1 ( `g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5` )

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Comment on lines 155 to 160
// 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)

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

Copy link
Contributor Author

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.

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:

  1. It is centralized and can be subject to abuse.
  1. First-time users need to submit multiple requests and are required to understand the fee structure to register and interact with the board.
  1. A larger token allocation for the faucet account is needed to support a growing number of user registrations and requests to the board.

  2. The faucet needs to utilize funds from a contract instead of a user account for added security and improved management going forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

piux2 and others added 4 commits October 12, 2023 17:10
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants