CarbonDeFi issue for both AMM and CLOB connector: https://github.com/hummingbot/gateway/issues/255 CarbonDefi AMM PR: https://github.com/hummingbot/gateway/pull/256 This New Connector Proposal relates to adding and merging the Carbon DeFi AMM connector into the Hummingbot Gateway repo. It adds support for Carbon DeFi to be used as an additional source for AMM arbitrage and exposes it in the following endpoints:
Carbon DeFi (https://carbondefi.xyz) is a decentralized trading protocol live on Ethereum mainnet. With its advanced orderbook-like functionality, Carbon DeFi allows for the creation of custom trading strategies using novel order types, automation, and any combination of ERC-20 tokens (sans fee-on-transfer and rebase tokens, etc). A 3rd party deployment of Carbon DeFi is on Base by Velocimeter (https://graphene.velocimeter.xyz/), with future deployments coming to Mantle, Canto, Arbitrum, and Fantom. Carbon DeFi allows any user to: Create a native onchain order, either limit or range, to buy or sell any pair of ERC-20 tokens. ("disposable strategy") Create a continuous trading cycle with linked buy and sell orders using any combination of two standard ERC-20 tokens. With "recurring strategies", as one order is filled, the newly acquired tokens automatically fund the opposite order, creating a cyclic range trading strategy with zero cost to makers on filled orders. Trade against any on-chain orders to obtain the best price execution (calculated by the Carbon DeFi SDK). Future functionality with other types of custom trading strategies coming soon. This proposal seeks to add and integrate #3. Other proposals can be made in the future for connector additions that support other Carbon functionalities.
Website: https://carbondefi.xyz App: https://app.carbondefi.xyz Links: https://www.carbondefi.xyz/links CarbonSDK (not used here but can prove useful in QA): https://github.com/bancorprotocol/carbon-sdk