{"repo":"linear-protocol/LiNEAR","free":true,"listed":false,"github":"https://github.com/linear-protocol/LiNEAR","clone":"git clone https://github.com/linear-protocol/LiNEAR.git","description":"Liquid Staking on NEAR Protocol","language":"Rust","stars":19,"topics":["near","nearprotocol","rust","smart-contract","defi","liquid-staking"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"LiNEAR - Liquid Staking on NEAR Protocol LiNEAR Protocol is a liquid staking solution built on the NEAR Protocol. LiNEAR unlocks liquidity of the staked NEAR by creating a staking derivative to be engaged with various DeFi protocols on NEAR and Aurora, while also enjoying over 10% APY staking rewards of the underlying base tokens. LiNEAR is the cornerstone piece of the NEAR-Aurora DeFi ecosystem. - Documentation Contracts The LiNEAR smart contracts are implemented with NEAR Rust SDK. The core contract is located in contracts/linear , and several mock contracts were made for testing various scenarios via simulation test. The LiNEAR smart contracts have been audited by BlockSec and Hacken. According to BlockSec's audit report and Hacken's audit report, no critical issues were found, and few low-risk minor issues were reported and have been fixed. Deployment Mainnet - LiNEAR contract and $LiNEAR token: linear-protocol.near Testnet - LiNEAR contract and $LiNEAR token: linear-protocol.testnet Development Prerequisite - Rust: v1.69.0 - Node.js: v20 Build - Build all artifacts: make - Build linear only: make linear Test We adopt unit tests and heavily used the workspace-js test framework to test the major scenarios and workflow of the LiNEAR smart contract in the Sandbox environment. Lint with rustfmt and clippy is also required when making changes to contract. - Install Node.js v20 - Run npm i to set up the environment - Run lint with rustfmt and clippy : make lint - Run all tests:","default_branch":null,"files":null,"tree":[],"storefront":"/r/linear-protocol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/linear-protocol/LiNEAR/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}