BalloonBox-Inc / ecoverse-dao

A DAO allowing Ecoverse users to vote on carbon-neutral FSC-certified projects. Powered by ECOV tokens.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EcoSwap & DAO ๐Ÿ“ฎ

This Repo contains the codebase to mint, transfer, and use ECOV fungible tokens to pay for services on the Ecoverse dapp, developed by BalloonBox for Solana. As such, ECOV is the official utility token for Ecoverse. The major featured directories are

  • ecoswap
    a mechanism to swap SOL โ†’ ECOV unidirectionally
    completed - Milestone #1 deliverable โœ”๏ธ
  • ecov
    a minter of Ecoverse's fungible utility tokens, called ECOV
    completed - Milestone #1 deliverable โœ”๏ธ
  • dao
    a DAO to vote on future Ecoverse projects
    completed - Milestone #2 deliverable โœ”๏ธ

Interaction Diagram

Tree Diagram

The tree diagram of the major files in the current directory

.
โ”œโ”€โ”€ dao                             # hyperlink to realms.today DAO
โ”œโ”€โ”€ ecoswap                         # unidirectional 1:1 swap SOL -> ECOV
โ”‚   โ”œโ”€โ”€ _cicd                       # shell custom commands
โ”‚   โ”œโ”€โ”€ _dist                       # contains the outputs of the compiled Solana program 
โ”‚   โ”‚   โ””โ”€โ”€ program
โ”‚   โ””โ”€โ”€  accounts                   # a folder containing a few Solana file system wallets
โ”‚       โ”œโ”€โ”€ bathsheba.json          # keypairs for the file system wallet
โ”‚       โ”œโ”€โ”€ rahab.json
โ”‚       โ”œโ”€โ”€ ruth.json
โ”‚       โ””โ”€โ”€ tamar.json
โ”‚   โ”œโ”€โ”€ client                      # Typescript client that interacts with the Solana program
โ”‚   โ”‚   โ””โ”€โ”€ main.ts
โ”‚   โ”œโ”€โ”€ node_modules                # node.js dependencies
โ”‚   โ””โ”€โ”€ program                     # the actual Solana program
โ”‚       โ””โ”€โ”€ src
โ”‚           โ”œโ”€โ”€ lib.rs              # Rust codebase of the Solana program
โ”‚           โ”œโ”€โ”€ Cargo.lock          # auto-generated Rust dependencies file
โ”‚           โ””โ”€โ”€ Cargo.toml          # Rust manifest file
โ”‚       โ””โ”€โ”€ target                  # output of the compiled Solana program
โ”‚   โ”œโ”€โ”€ .env                        # environment variables
โ”‚   โ”œโ”€โ”€ .gitignore                  
โ”‚   โ”œโ”€โ”€ package-lock.json           # auto-generated Node project metadata
โ”‚   โ”œโ”€โ”€ package.json                # metadata of our Node project
|   โ””โ”€โ”€ README.md
โ”œโ”€โ”€ ecov                            # mint and transfer a utility token, called ECOV
โ”‚   โ”œโ”€โ”€ firstmint                   # first-time mint of ECOV
โ”‚       โ”œโ”€โ”€ node_modules
โ”‚       โ””โ”€โ”€  scripts
โ”‚           โ”œโ”€โ”€ firstmint.mjs       # mint ECOV (SPL-token)
โ”‚           โ””โ”€โ”€ transfer.mjs        # transfer ECOV
โ”‚       โ”œโ”€โ”€ .env
โ”‚       โ”œโ”€โ”€ package-lock.json
โ”‚       โ”œโ”€โ”€ package.json
โ”‚       โ””โ”€โ”€ README.md
โ”‚   โ””โ”€โ”€ remint                      # remint existing supply of ECOV
โ”‚       โ”œโ”€โ”€ node_modules
โ”‚       โ”œโ”€โ”€ .env
โ”‚       โ”œโ”€โ”€ .gitignore              
โ”‚       โ”œโ”€โ”€ package-lock.json
โ”‚       โ”œโ”€โ”€ package.json
โ”‚       โ”œโ”€โ”€ README.md
โ”‚       โ””โ”€โ”€ remint.mjs
โ”œโ”€โ”€ pix                             # images & diagrams
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ LICENCE
โ””โ”€โ”€ README.md

About

A DAO allowing Ecoverse users to vote on carbon-neutral FSC-certified projects. Powered by ECOV tokens.

License:Apache License 2.0


Languages

Language:JavaScript 31.1%Language:TypeScript 29.7%Language:Rust 28.3%Language:Shell 10.9%