Skip to content

Instantly share code, notes, and snippets.

@fbslo
Last active May 1, 2022 20:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fbslo/73e247e4b62a7f08d46f90bd9e9bb8db to your computer and use it in GitHub Desktop.
Save fbslo/73e247e4b62a7f08d46f90bd9e9bb8db to your computer and use it in GitHub Desktop.
#FRONTEND
#Hive Engine (HE) token name
TOKEN_NAME=
#HE token symbol
TOKEN_SYMBOL=
#Number of decimal places HE token has
HIVE_TOKEN_PRECISION=
#Number of decimal places Ethereum token has
ETHEREUM_TOKEN_PRECISION=
#Address used to mint/transfer tokens when user deposit HE tokens
ETHEREUM_ADDRESS=
#if you use transfer method (fixed supply), add any cold wallet here, seperated by comma
OTHER_ADDRESSES=
#Smart contract address from token creation
ETHEREUM_CONTRACT_ADDRESS=
#Infura endpoint, e.g. https://mainnet.infura.io/v3/b694...6351c
ETHEREUM_ENDPOINT=
#Pick from: mint, transfer
#Default is mint, backend and contract MUST match
ETHEREUM_CONTRACT_FUNCTION=mint
#API key from https://docs.ethgasstation.info/
ETH_GAS_STATON_API_KEY=
#Pick from: fast, fastest, safeLow, average
#Recomended is fast
ETH_FEE_SPEED=fast
#Hive deposit account
HIVE_ACCOUNT=
#Minimum about of tokens
MIN_AMOUNT=
#Maximum about of tokens
MAX_AMOUNT=
#Contact link on /faq site, under "Where can I get some help"
#Example: https://www.whive.network/faq.html
CONTACT_LINK=https://discord.com/invite/KgcVDKQ
#Color of header on website
COLOR=
#use https://www.favicon-generator.org/ to generate icons and replace them in frontend/assets/icons
----------------------------------------------------------------------------------------
#BACKEND
#HE token symbol
TOKEN_SYMBOL=
#Number of decimals for HE token
HIVE_TOKEN_PRECISION=
#Number of decimalss for ERC20 token
ETHEREUM_TOKEN_PRECISION=
#true or false, if you don't have your own HE node, use false. DON'T USE IN PRODUCTION, EXPERIMENTAL
VERIFY_SECONDARY_NODE=
#Your secondary HE node,
#e.g. https://api2.hive-engine.com/rpc/blockchain (this url is not working, don't use in production!)
HIVE_ENGINE_SECONDARY_ENDPOINT=
#Hive deposit account
HIVE_ACCOUNT=
#Private key (WIF) for hive acocunt
HIVE_ACCOUNT_PRIVATE_KEY=
#Address used to mint/transfer tokens when user deposit HE tokens
ETHEREUM_ADDRESS=
#Private key for that eth address
ETHEREUM_PRIVATE_KEY=
#Token's contract address
ETHEREUM_CONTRACT_ADDRESS=
#Ethereum chain id, 1 is mainnet, 3 is ropsten...
ETHEREUM_CHAIN_ID=1
#Chain name, e.g. mainnet, ropsten...
ETHEREUM_CHAIN=mainnet
#Pick from: mint, transfer
#Default is mint, backend and contract MUST match
ETHEREUM_CONTRACT_FUNCTION=mint
#GAS limit, use 250000 to be safe
ETHEREUM_GAS_LIMIT=100000
#Pick from: fast, fastest, safeLow, average
#Recomended is fast
ETH_FEE_SPEED=fast
#Minimum amount, anything less will be refunded
MIN_AMOUNT=
#Maximum amount, anything more will be refunded
MAX_AMOUNT=
#Fee in %, use 0 to disable
PERCENTAGE_DEPOSIT_FEE=
#Infura endpoint, e.g. https://mainnet.infura.io/v3/b694...6351c
ETHEREUM_ENDPOINT=
#Hive nodes, seperated by comma
HIVE_RPC_NODES = https://api.hive.blog,https://anyx.io,https://api.openhive.network,https://hived.privex.io,https://api.hivekings.com
#MongoDB connection url, default is mongodb://127.0.0.1:27017, don't change if you are not sure
MONGODB=mongodb://127.0.0.1:27017
#API key from https://docs.ethgasstation.info/
ETH_GAS_STATON_API_KEY=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment