Skip to content

Faucet to distribute SUNIK tokens on the Unikname Blockchain 💸

License

Notifications You must be signed in to change notification settings

rigwild/unikname-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unikname Faucet

A faucet to gift SUNIK tokens to unikname.network users 🤑💸.

Faucet link

unikname-faucet.rigwild.dev

Screenshot

App screenshot

Install

git clone https://github.com/rigwild/unikname-faucet
cd unikname-faucet
yarn

Build

yarn build

Configuration

Copy .env.example to .env.

Variable Description Example
SERVER_PORT HTTP port the server will listen 8080
DATABASE_CLEANUP_CRONTIME Interval between database cleanups ''0 * * * *' (1 every hours)
GIFT_INTERVAL_DELAY_MS Delay a user must wait before asking for another gift in ms 604800000 (1 week)
GIFT_AMOUNT Gift amount in SUNIK 100 (100 SUNIK)
GIFT_FEE Gift transaction fee in SUNIK 1 (1 SUNIK)
GIFT_VENDORFIELD Message set in the Smartbridge field 'Faucet money 🤑💸'
NETWORK The unikname.network to operate on 'sandbox'
PASSPHRASE Wallet passphrase 'unikname faucet wallet main passphrase'
SECOND_PASSPHRASE Second wallet passphrase 'unikname faucet wallet second passphrase'

Start

yarn start

Note

To limit abuses, you can ask for tokens once per week. You wallet address and IP address are saved for a duration of 1 week then automatically removed from the database.

License

The MIT License.