All Projects → alpha-fi → clp-contracts

alpha-fi / clp-contracts

Licence: GPL-3.0 License
AMM and Continous Liquidity Provider smart contracts on NEAR blockchain

Programming Languages

HTML
75241 projects
rust
11053 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to clp-contracts

prb-math
Solidity library for advanced fixed-point math
Stars: ✭ 404 (+1516%)
Mutual labels:  smart-contracts, defi
Scrypto-Advent-Calendar
Scrypto Advent Calendar. Learn the new programming langage to build secure DeFi applications quickly.
Stars: ✭ 22 (-12%)
Mutual labels:  smart-contracts, defi
UpSideDai
⬆️ Take a HIGHLY leveraged position on the future price of DAI 📈.
Stars: ✭ 26 (+4%)
Mutual labels:  smart-contracts, defi
awesome-waves
Curated list of awesome things for development on Waves blockchain.
Stars: ✭ 60 (+140%)
Mutual labels:  smart-contracts, defi
blockhead
Crypto portfolio tracker, DeFi dashboard, NFT viewer and data explorer for the Ethereum/EVM-based blockchain ecosystem and the web 3.0-powered metaverse https://gitcoin.co/grants/2966/blockhead
Stars: ✭ 41 (+64%)
Mutual labels:  smart-contracts, defi
mStable-contracts
📃 Smart Contracts that make up the core of the mStable protocol
Stars: ✭ 277 (+1008%)
Mutual labels:  smart-contracts, defi
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+1256%)
Mutual labels:  smart-contracts, defi
Blockchain-Alpha
Alpha from various sectors in the blockchain space.
Stars: ✭ 102 (+308%)
Mutual labels:  smart-contracts, defi
uniswap-skim
scripts to scan all of the uniswapV2🦄 contracts on ethereum and search for skim opportunities
Stars: ✭ 126 (+404%)
Mutual labels:  smart-contracts, defi
CrowdBank
⚙️ Peer to Peer Loan System implemented on Ethereum Smart Contracts
Stars: ✭ 88 (+252%)
Mutual labels:  smart-contracts, financial-services
quipuswap-core
🧙‍♂️ Repository containing QuipuSwap liquidity protocol smart-contracts written in Ligo language
Stars: ✭ 48 (+92%)
Mutual labels:  smart-contracts, defi
quipuswap-webapp
🌐 🧙‍♂️ Decentralized application UI for Quipuswap protocol.
Stars: ✭ 21 (-16%)
Mutual labels:  smart-contracts, defi
zeneth
🏵️ Let Your ETH Chill — Gasless Ethereum account abstraction with Flashbots
Stars: ✭ 112 (+348%)
Mutual labels:  smart-contracts, defi
flow-protocol-ethereum
Flow Protocols powering synthetic asset and margin trading
Stars: ✭ 18 (-28%)
Mutual labels:  smart-contracts, defi
ultimate-defi-research-base
Here we collect and discuss the best DeFI & Blockchain researches and tools. Feel free to DM me on Twitter or open pool request.
Stars: ✭ 1,074 (+4196%)
Mutual labels:  smart-contracts, defi
mai-protocol
A Protocol for trading decentralized derivatives on Ethereum
Stars: ✭ 22 (-12%)
Mutual labels:  smart-contracts, defi
Smart-Contract-Security-Audits
Certified Smart Contract Audits (Ethereum, Hyperledger, xDAI, Huobi ECO Chain, Binance Smart Chain, Fantom, EOS, Tezos) by Chainsulting
Stars: ✭ 325 (+1200%)
Mutual labels:  smart-contracts, defi
challenge
Solidity Engineer Challenge
Stars: ✭ 94 (+276%)
Mutual labels:  smart-contracts, defi
core
SIREN Core Smart Contracts
Stars: ✭ 39 (+56%)
Mutual labels:  smart-contracts, defi
DeFi-Developer-Road-Map
DeFi Developer roadmap is a curated Web3.0 Developer handbook which includes a list of the best tools for DApps, development resources and lifehacks.
Stars: ✭ 5,658 (+22532%)
Mutual labels:  smart-contracts, defi

logo

NEAR-CLP is a set of protocols for decentralized finance. With a ground research and solid experience in smart-contract development we define our mission as:

To develop a sustainable foundation of DeFi ecosystem with NEAR blockchain

We are creating a building blocks for the DeFi which are secure, reliable and sustainable.

We use Ethereum-NEAR Rainbow Bridge to provide better service for Ethereum assets. Check the note below for more details.

Our protocols

NEARswap

  • Automated Market Maker
  • Continious Liquidity Provider
  • OTC Trading

Status: Alpha. Basic functionality is implemented and tested. However there are few known exploits - we don't handle all edge cases yet. Please use it for testing and playing.

Demo:

  • Video 1: Rainbow bridge integration, moving ERC20 to NEARswap smart-contracts, creating NEARswap pool, adding liquidity to the pool, and trading tokens with the pool using the WEB UI.
  • Video 2 - Command Line Interface.

Flash Loans

TL;DR: this is not feasible in current design of NEAR blockchain.

BCO: Bonding-curve Coin Offering

  • Did you hear about ICO? Or Uniswap Offering? BCO is moving this to a next level.
  • An automated token release mechanism.

Status: research & development.

TBD...

We have few garage products which we will share later.

Research

We analyze different approaches (slowly releasing a content there) in the research document.

Usage

Please refer to the specific protocol documentation page to see the available tools and webapp functionality. Here are the principal tools:

  • our webapp (provides the integration for basic features)
  • near-cli - a tool to make generic transactions and operations with NEAR blockchain runtime.
  • near-clp-cli - a CLI crafted for NEARswap API.

Why and How?

DeFi Background

The structure of global finance has remained largely the same since the start of the Industrial era, with a heavy reliance on financial intermediaries. Despite major advancements in software technology, huge parts of existing financial infrastructure remain archaic and burdensome. While many fintech products have sprouted into existence over the last decade to fill the gap, they all need to be plugged into the existing financial system to function, leaving a control of OUR funds and charging intermediation fees at the incumbents.

The benefits of DeFi will be major across both developed and emerging markets. In developed markets, DeFi will provide greater choice to consumers, reduce the costs of the legacy financial system, and bring greater liquidity and product innovation to financial markets. For emerging markets, DeFi will provide a more secure store of value with the rise of stablecoins and offer financial services to billions of adults who lack access to the existing financial system.

By transferring the trust layer from financial intermediaries to software and code on the blockchain, DeFi can provide universal access to financial services. This represents a paradigm shift where trust-minimized user experience is possible. In an era where control of users’ data and digital activity might be a liability, DeFi will be able to provide much better products and services at scale than traditional finance.

(Source: The Defiant)

Macro Economy

Economy heavily depend on the following factors:

  • production
  • supply chains
  • financial services

The latter one enable growth of our economy to new levels through all aspects of asset management and financial derivatives. At its heart, financial services arrange everything from savings accounts to synthetic collateralized debt obligations. With that, access to assets and obligations is a key to scale assets management.

With blockchain we can move financial services to a new level - Decentralized Finance. As noted above, access to assets obligation is a key to scale the economy. Principal solutions to that is:

  • Liqidity services
  • Automated Market Making.
  • Protocol level investments: own your funds while letting them working for you through DeFi protocols.
  • Direct payments: remove the market dependency from the huge tech unicorns (Google, Amazon, FB...) having an access to your wallet and getting intermediation fees, when in most cases it's not necessary.

How

We build NEAR-CLP to fulfill this goals in a very open and decentralized manner. Here are our GOALS:

  • Focus on liquidity pools and AMM
  • Eliminate side markets incentives. Side market is an entity which could change a behavior of the CLP / AMM protocol and shift the benefits or potentially manipulate the whole market.
  • Highly predictable behavior designed with the main blockchain principles: trustless smart-contracts without susceptible governance.

Why NEAR

Thriving DeFi ecosystem needs:

  1. Robust layer-1 to enable composability between different contracts (→ DeFi Lego).
  2. Secure platform with adjustable throughput and storage capabilities. With DeFi we can't take a risk of unreliable or corruptible layer-2.

NEAR is providing a solution for above requirements today. With it's unique set of features and scaling potential aspires to be a significant player in the new Decentralize Finance world.

Why Bridging with Ethereum?

Today, most of the valuable assets are hosted on Ethereum. In fact, today, DeFi is an Ethereum domain and it has the biggest ecosystem (developers, tools, dapps). It's also very secure. However Ethereum has few very important pain points:

  • it doesn't scale
  • layer-2 solutions are complex and not composable
  • EVM execution model is unsafe

We want to enable people to use Ethereum based assets and do asset management on NEAR using NEAR growing ecosystem. Through the inter-blockchain bridge, NEAR will provide a scale-ability to the current Ethereum DeFi ecosystem and more robust smart-contract runtime.

License

We create foundations for DeFi, hence an open access is the key.

We build the Open Source software and knowledge base. All our work is licensed under GPL-3.0. Refer to LICENSE for terms.

Copyright (C) 2020 Robert Zaremba and contributors.

Contact

Hack the Rainbow team

Hack the Rainbow is the NEAR’s first Massive Open Online Hackathon.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].