Technical Architecture Overview
This section describes an overview of the CoinYeild software.
There are a few components
Onchain smart contract
Website
Metrics reporting and data logging from on chain events
Trading algorithm
Relay server
1. Onchain smart contract
We have an on-chain Defi compatible smart contract used for user interaction.
This allows users to deposit and withdraw their collateral against a virtual price.
Hosted on Ethereum and written in Solidity. See details here
Contracts Explained2. Website
The website is hosted on a static hosting site and acts as a front end for the users. The website allows users to deposit, stake to signal intent to withdraw and withdraw their collateral.
3. Metrics
We use Dune Analytics to track onchain events such as user deposits, withdraws, total capital, and historical performance. This allows immutable tracking of past performance and events and uses Dune to provide an easy configurable front end.
4. Trading algorithm
An offchain trading algorithm is used to execute trades against user capital.
This algorithm works against the Binance USDT pairs and Okex futures markets.
User funds are deposited into accounts on these exchanges to be manipulated by the algorithm.
Details:
Written in Python
Market neutral
2 years of profitable in production use
Averaging 40% APY
5. Relay server
A relay server uses a read-only API to retrieve data from the exchanges and algorithm. It then relays this information to the onchain smart contracts. This server also serves the need to relay user signalling intent to the off chain components such as an intent to withdraw.
Last updated