| URL | method | |
|---|---|---|
| ETH 요청 | /faucetETH/request | POST |
| Token 요청 | /faucetToken/request | POST |
| type | Data |
|---|---|
| Request | {wallet_address: “사용자 address”} |
| Response | {transaction_hash: “transaction Hash값”eth_balance: “사용자의 현재 eth양”token_balance: “사용자의 현재 token양”} |
| name | type | description |
|---|---|---|
| address | string | account address |
| amount | string | 총 전송 받은 양 |
| time | time.Time | 마지막 요청 성공 시간 |
- 빌드 후 실행
go build
./eth-faucet- flags
- in web/faucet-web
npm run start- 실행 화면 확인







