diff --git a/cmd/faucet/customized/README.md b/cmd/faucet/customized/README.md new file mode 100644 index 000000000..e6f167c9b --- /dev/null +++ b/cmd/faucet/customized/README.md @@ -0,0 +1,10 @@ +# 1.Background +This is to support some projects with customized tokens that they want to integrate into the BSC faucet tool. + +## 1.1. How to Integrate Your Token +- Step 1: Fund the faucet address by sending a specific amount of your BEP-20 token to the faucet address (0xaa25aa7a19f9c426e07dee59b12f944f4d9f1dd3) on the BSC testnet. +- Step 2: Update this README.md file and create a Pull Request on [bsc github](https://github.com/bnb-chain/bsc) with relevant information. + +We will review the request, and once it is approved, the faucet tool will start to support the customized token and list it on https://www.bnbchain.org/en/testnet-faucet. + +# 2.Token List \ No newline at end of file diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go index e83a32835..918b60a58 100644 --- a/cmd/faucet/faucet.go +++ b/cmd/faucet/faucet.go @@ -500,7 +500,7 @@ func (f *faucet) apiHandler(w http.ResponseWriter, r *http.Request) { continue } - // check #2: check IP and ID(address) to ensure the user didn't request funds too recently, + // check #2: check IP and ID(address) to ensure the user didn't request funds too frequently f.lock.Lock() if ipTimeout := f.timeouts[ips[len(ips)-2]]; time.Now().Before(ipTimeout) {