Buildr is part of Linear’s decentralised application suite. Users can stake LINA tokens to build ℓUSD, the base currency of Linear Exchange. Stakers are entitled to staking rewards and a split of the transaction fees generated by Linear Exchange. Users can then use ℓUSD minted to purchase synthetic assets on Linear Exchange to gain different investment exposures. ℓUSD can also be moved to other protocols or dApps within the DeFi ecosystem. As such, Buildr will involve three separate functions in this case, Build, Burn, and Claim
Linear.Buildr requires Node.js v12+ to run.
$ cd linear-buildr
$ npm install
Depends on your environment, create the corrsponding files ".env.development" or ".env.production" along with the parameters below.
NODE_ENV="development or production"
SERVER_PORT="6111"
BACKEND_API=""
INFURA_PROJECT_ID=""
ETHERSCAN_KEY=""
BSCSCAN_KEY=""
ALCHEMY_KEY=""
ETH_GAS_STATION_KEY=""
DEFI_PULSE_STATION_KEY=""
GRAPH_BUILDR_ETHEREUM_MAINNET=""
GRAPH_BUILDR_ETHEREUM_ROPSTEN=""
GRAPH_BUILDR_SWAP_ETHEREUM_MAINNET=""
GRAPH_BUILDR_SWAP_ETHEREUM_ROPSTEN=""
GRAPH_BUILDR_BINANCE_MAINNET=""
GRAPH_BUILDR_BINANCE_TESTNET=""
TOKEN_BRIDGE_MAINNET=""
TOKEN_BRIDGE_TESTNET=""
GRAPH_BAND_BINANCE_MAINNET=""
GRAPH_BAND_BINANCE_TESTNET=""
ENABLE_MAINTENANCE=""
$ npm run dev
Open in browser http://localhost:6111
$ npm run build
$ npm run start
$ npm run generate
Please refer to package.json for details.