🔮Nodes

Nodes are a core concept of Tortle Ninja. They allow you to easily operate with a wide range of cryptocurrencies, farms, oracles, and so on. With this, users can set up complex DeFi strategies.

Add Funds

This node allows you to add funds from any valid currency to your recipe. Note that the funds must be in your wallet during the moment you launch your recipe.

Split Tokens

This node will do a percentage-based split on your funds and put it into 2 streams, creating a fork in the recipe. A split may sometimes have up to 2 implicit swaps. These will be done on the same transaction so gas fees are reduced.

Swap Tokens

This node allows you to swap a stream of tokens that might come from any other node or Combo Trigger. The swap works with a smart router that will give you the best possible exchange rate in the ecosystem.

Deposit on Liquidity Pool

This node will deposit your funds into a liquidity pool of your choice. At least two operations will occur, which are a swap and a split. They will convert your funds into your desired pair at the correct amount. All the LPs are shown on SpookySwap unless the pool is recently created or has irrelevant liquidity. The actual APR is also shown. All this data is calculated directly from the blockchain.

Farms

Farms on Tortle Ninja are as great as they can be, as you can access all the farm's offerings on SpookySwap. Not only that, but you can also auto-compound and auto-harvest your earnings. This is done through a vault and a strategy that executes every time a user deposits funds on the Vault/Farm.

There are no hidden fees in this process.

Combo Triggers

A Combo Trigger is basically a part of the recipe with the formula:

  • if (someone) says (something) do (that).

As easy and simple as that sounds, it is capable of creating complex mechanics like stop-loss or limit orders. Crypto markets are often sensitive to sentiment or even someone's tweets, thus making them highly volatile. Ideally, you would want to expand on these combo triggers as much as possible.

On the Easy Oracle Configurator, you will find 3 variables:

Someone: This refers to the oracle. At the moment, we only have ChainLink, but we will add more oracles soon, so you will be able to choose your preferred source of info.

Something: This refers to the condition that needs to be met. Let's use a stop-loss-like option as an example:

A (digital asset) reaches (a price). So for example, if the price of BTC reaches 70,000, the combo trigger takes action.

That: This refers to the action to make when the requirements from the variable Something are met.

Combo Triggers can be executed both while you are designing your DeFi strategy and when you are done.

Send to wallet

This node sends any earned funds from the strategy back to the owner's wallet. It requires a combo trigger for it to be executed.

Liquidate

This node swaps all cryptocurrencies on the stream to the desired currency and is normally placed at the end of a strategy.

Last updated