Skip to content

Buildr is part of the Linear's dApp suite. You can pledge and stake your LINA tokens to build ℓUSD, the base currency of Linear Exchange.

Notifications You must be signed in to change notification settings

yoiochen/linear-buildr

Repository files navigation

Linear.Buildr

GitHub package.json version GitHub top language Discord

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

enter image description here

Run Scripts

Linear.Buildr requires Node.js v12+ to run.

Install Dependencies

$ cd linear-buildr
$ npm install

Create configuration files:

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"
BASE_URL=""
INFURA_PROJECT_ID=""
ETHERSCAN_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=""
GRAPH_EXCHANGE_BINANCE_MAINNET=""
DEOSIT_PROOF_MAINNET_API=""
DEOSIT_PROOF_TESTNET_API=""

For development environments:

$ npm run dev

Open in browser http://localhost:6111

For production environments:

$ npm run build
$ npm run start

Run as static files (pre-rendered):

$ npm run generate

Dependencies

Please refer to package.json for details.

About

Buildr is part of the Linear's dApp suite. You can pledge and stake your LINA tokens to build ℓUSD, the base currency of Linear Exchange.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages