> For the complete documentation index, see [llms.txt](https://explore.joinseeds.earth/5.-economic-tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://explore.joinseeds.earth/5.-economic-tools/tools-for-regenerative-economic-systems/mobile-and-web-apps-and-tools/rainbow-seeds-unique-community-currency-maker.md).

# Rainbow Seeds (Unique Community Currency Maker)

{% hint style="info" %}
**\[Creator Domain]**

This tool is maintained by&#x20;
{% endhint %}

#### Key Links

[Community Currency Creator Dashboard](https://cc42.xyz/rainbo/manage.html)

[Code Repository](https://github.com/chuck-h/seeds-smart-contracts/tree/feature/rainbows) - link to open source code

![](/files/mjC0t5ZKDWqCjtRc5NVr)

### Overview

Rainbow Seeds details haven't been copied into the wiki yet.&#x20;

However, you can [find them here.](https://medium.com/joinseeds/rainbow-seeds-v1-0-combining-the-best-of-local-and-global-currencies-for-a-regenerative-economy-1fb713efd9b1)

{% embed url="<https://medium.com/joinseeds/rainbow-seeds-v1-0-combining-the-best-of-local-and-global-currencies-for-a-regenerative-economy-1fb713efd9b1>" %}
Intro and overview article
{% endembed %}

## Walkthrough on how to create your own currency:

{% embed url="<https://vimeo.com/692515415>" %}

{% embed url="<https://vimeo.com/692742679>" %}

{% embed url="<https://vimeo.com/693277157>" %}

{% embed url="<https://vimeo.com/693850054>" %}

{% embed url="<https://docs.google.com/document/d/1Wq-i6du24_An_LFYxWajwMJPSEm-FSqLSQwa5J17AFo/edit?usp=sharing>" %}
Rainbow specification development
{% endembed %}

***Nitty gritty tech details:*** The proposed method for staking dSeeds (which are deferred SEEDS scheduled to be paid out over time from the harvest pool) has these steps:

1. Deferred SEEDS which currently exist as "locked balances" in the `escrow.seeds` contract are converted to balances in the `pool.seeds` contract.
2. Some or all of a beneficiary's pool balance is transferred to a Rainbow *issuer account* in the form of HPOOL tokens. One HPOOL token represents one SEEDS token in the beneficiary's pool account.
3. The Rainbow Seed token is created by the issuer. It is configured with two simultaneous staking relationships:\
   &#x20;  a. Rainbow Seed is staked by HPOOL at 1:1 (or possibly more than 1 HPOOL per Rainbow), and\
   &#x20;  b. Rainbow Seed is staked by liquid SEEDS at 0:1 (a placeholder for future redemptions)\
   Both of these relationships are defined with the *proportional unstaking* feature. The Rainbow is also configured with an associated *escrow account* shared by both of these relationships.
4. The issuer *issues* a number of Rainbow Seeds (say 1000). This automatically transfers 1000 HPOOL tokens to the escrow account. The Rainbow Seeds appear in the issuer account where they can be given or sold to other users. Suppose user `farmerbrown` receives 300 Rainbow Seeds.
5. After go-live, the Harvest protocol begins to make payments. Suppose on Summer Solstice, June 21st, there is a 2% payout. The 1000 HPOOL tokens in the escrow account automatically convert into 980 HPOOL tokens and 20 SEEDS.
6. The Rainbow tokens are useful for local transactions, but `farmerbrown` needs some currency that can be traded outside his village. He *redeems* 150 Rainbow Seeds, which returns the stake to him. Before the Solstice, he would have received 150 HPOOL in redemption. However after the 2% harvest distribution he now receives 147 HPOOL and 3 SEEDS.\\
7. If `farmerbrown` holds onto the 147 HPOOL and another harvest comes around, new SEEDS will automatically appear in his account and the HPOOL balance will drop by the same amount.
