Dollar-cost Averaging Genesis-dapp on Waves Blockchain

The Heraclitus Project
3 min readOct 28, 2022

--

We are excited to announce that the first DCA smart contract has been released on the Waves blockchain. This release is ahead of our schedule.

KEY TAKEAWAYS

  • We are currently testing our new dapps on the mainnet.
  • Daily automated Dollar-cost Averaging.
  • Monthly rounds.
  • 48h deposit window.
  • 48h withdrawal window.
  • DCA funds are distributed monthly through mass transfer.
  • The base capital that remains after the finished round automatically participates in the next round.
  • Derivatives are issued to everyone who deposits a base capital.
  • You can close your DCA position at any time by selling your DCA derivatives.
  • In the future, DAOs will shape the investment prospects for each DCA dapp.

Incorporating a Dollar-cost Averaging strategy into a smart contract can be done in a number of different ways. One of them is to build it based on term locks. Initially, we planned to offer 3/6/12-month investment programs. However, we realized that this solution might not work for everyone. We decided to try to find a compromise and offer the ability to choose the investment program that works best for every individual.

Monthly rounds and tradable DCA position

We have created a system of investing rounds and tradable DCA positions as a compromise for low-time preference investors and traders who are not interested in term locks. We propose a lock period of 43200 blocks (approximately 30 days) and a fully spendable DCA in a form of a token.

How does it work?

  1. At the beginning of each round, we propose a 24–48h deposit window, after which the deposits are locked and the 30 days round begins.
  2. On every deposit of the base capital, the DCA derivative is begin issued. It is a representation of your investing position that is spendable, giving you an opportunity to transfer your position to a different address or simply trade it.
  3. During the lock period of 43200 blocks, the daily automated DCA is performed according to the investing prospect. In our Genesis_DCA we accumulate WAVES tokens only from the interest that is compounded at Pluto's native stake. This way, the base capital always stays in its initial state saved in the dapp data.
  4. Every round, the funds from the DCA are transferred to all holders of the DCA tokens.
  5. If investors want to withdraw their base capital, they can do so within 48 hours after the round is finished. This can be done by exchanging the DCA derivatives back to the base capital. If the investor does not withdraw the base capital within the allotted time, then it will automatically be entered into the next round.
  6. You can always sell your derivatives to exit your DCA position during the round.

DAO will shape the future

Genesis_DCA is the first dapp for Automated Dollar-cost Averaging on Waves Blockchain but there are plans for more dapps to be released by the Heraclitus Project. The concept for those dapps is that every and each of them will be regulated by the DAO of their investors. Every aspect of the smart contract will be able to be tweaked and adjusted by the token holders who will have to decide by voting.

What exactly can be decided by the DAO?

  • an asset of the base capital
  • assets that investors want to accumulate using DCA
  • a portion of the base capital to be used for DCA
    (percentage / interest only / fixed amount)
  • an exact share of every asset accumulated with DCA
  • period of the round
  • deposit and withdrawal periods
  • etc.

Address of our first DCA smart contract:
3PAFi86jNXNmgc4Fx4RnV6aJLXcW4zn99LJ
The token ID of the Genesis_DCA derivative:
FGe2fT41osaHcE6JRKtXbUwHaWFRB4Ygye9vS5hRJWJy

If you are interested in our project, follow us on Twitter, join our Telegram Group, and subscribe to our Telegram Channel.

--

--

The Heraclitus Project

Collection of Tokenized Compound Interest derivatives on Waves Blockchain.