Smart contracts implemented in Solidity for Linear Finance.
Linear Finance is a cross-chain compatible, decentralized delta-one asset protocol to cost-effectively and instantly create, manage, and trade synthetic assets with unlimited liquidity.
Linear Finance ("Linear") is a non-custodial, cross-chain compatible, delta-one asset protocol. Linear's long term DeFi vision is to increase inclusiveness and democratize access to investment assets (digital and traditional). Tremendous value exists in the ability for investors to easily and quickly invest, save fees, and secure assets at fair market value. Linear combines substantial technical experience from numerous crypto projects with extensive financial experience in exotic and structured assets from traditional global asset management firms to bring to market one of the first DeFi projects built upon Ethereum with cross-chain compatibility. Linear will allow users to build and manage spot or portfolio exposures with a slew of innovative digital and traditional financial products.
A recent version of Node.js and Yarn are required to compile the contracts and run tests.
Build the smart contracts using Hardhat with the following command:
$ yarn install
$ yarn compile
You can find compiled contracts in the ./artifacts
folder upon successful compilation.
Run test cases with Hardhat:
$ yarn test
All code in this repository is licensed under MIT.