All Projects → dOrgTech → homebase-app

dOrgTech / homebase-app

Licence: MIT license
Homebase is a web application that enables users to create and manage/use DAOs on the Tezos blockchain.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to homebase-app

governance
🏢 Frontend for governance of the Decentraland DAO
Stars: ✭ 30 (-28.57%)
Mutual labels:  dao
mongo
Light-weight utilities and declarative schema (mutable mapping) to augment, not replace the Python MongoDB driver.
Stars: ✭ 18 (-57.14%)
Mutual labels:  dao
dxvote
Governance Dapp of DXdao
Stars: ✭ 28 (-33.33%)
Mutual labels:  dao
DAO-IPCI
Decentralized autonomous organization «The Integral Platform for Climate Initiatives». DApp, smart contracts and blockchain technology-based ledger for carbon units and carbon units’ operations data.
Stars: ✭ 31 (-26.19%)
Mutual labels:  dao
foundation
for the Great Civilization
Stars: ✭ 54 (+28.57%)
Mutual labels:  dao
Access-examples
🅰️ Various examples of VBA, queries, macros, forms, reports and ribbon XML in an Microsoft Access database file
Stars: ✭ 51 (+21.43%)
Mutual labels:  dao
crypto-books
Best of Crypto Books - A collection of books, white papers & more about crypto and blockchains.
Stars: ✭ 40 (-4.76%)
Mutual labels:  dao
atomex.client.wpf
Atomic swap exchange client for OS Windows
Stars: ✭ 15 (-64.29%)
Mutual labels:  tezos
focus-single
Single repo demo project using GoFrame.
Stars: ✭ 26 (-38.1%)
Mutual labels:  dao
tezedge
Tezos node/shell in Rust. Unfortunately dev has ceased. If you are interested in resurrecting, please contact @drchrispinnock
Stars: ✭ 147 (+250%)
Mutual labels:  tezos
developerdao.com
A community of builders who believe in collective ownership of the internet
Stars: ✭ 381 (+807.14%)
Mutual labels:  dao
seeds light wallet
www.joinseeds.earth/
Stars: ✭ 30 (-28.57%)
Mutual labels:  dao
Prisma1
💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)
Stars: ✭ 16,851 (+40021.43%)
Mutual labels:  dao
DAOcreator
dApp for creating and interacting with DAOs
Stars: ✭ 34 (-19.05%)
Mutual labels:  dao
granary
Tezos smart contract & dapp development toolkit
Stars: ✭ 67 (+59.52%)
Mutual labels:  tezos
SmartDev-Scaffold
应用开发脚手架,可基于智能合约文件,一键生成区块链应用的代码
Stars: ✭ 22 (-47.62%)
Mutual labels:  dao
slick-generic-dao-example
Generic DAO example implementation for Slick 3.2
Stars: ✭ 14 (-66.67%)
Mutual labels:  dao
dao
Documentation for Liker Land and LikeCoin.
Stars: ✭ 20 (-52.38%)
Mutual labels:  dao
Smart-Net-Data-Accessor
2-way/outside SQL build-time data accessor generator library.
Stars: ✭ 22 (-47.62%)
Mutual labels:  dao
Exposed
Kotlin SQL Framework
Stars: ✭ 5,753 (+13597.62%)
Mutual labels:  dao

Tezos Homebase

Homebase is a platform designed to let users create and manage DAOs on the Tezos blockchain.

Prerequisites

The following dependencies are required to run homebase-app:

Dependency Version
Node v12.18.4 or above
Yarn v1.22.* or above

Third Party Services

The following third party services are being used by Homebase:

Better Call Dev API

Base URL: https://api.better-call.dev/v1

Endpoint URL METHOD
BigMap Keys /bigmap/{network}/{number}/keys GET
Contract /contract/{network}/{address} GET
Contract Operations /contract/{network}/{address}/operations?size=10000&entrypoints=vote GET
Contract Storage /contract/{network}/{address}/storage GET

Pinata IPFS

Base URL: https://api.pinata.cloud

Endpoint URL METHOD
Pin to IPFS /pinning/pinJSONToIPFS POST
Pin List /data/pinList?status=pinned GET
Hash Metadata /pinning/hashMetadata PUT

TZKT API

Base URL: https://api.tzkt.io/

Endpoint URL METHOD
Operations /v1/accounts/${address}/operations GET

Airgap's Beacon SDK

Version: 2.2.1

Using Homebase

Creating a DAO

  1. Go to https://tezos-homebase.netlify.app/
  2. Click on the Create a DAO button

You will be taken to the DAO Creator, from which you will be asked to choose on the currently supported DAO templates.

  1. Select one of the supported DAO templates
  2. Fill the DAO creation form. You will be asked to fill:

DAO Settings:

  • DAO Name: this will also be the name of the DAO's token.
  • Token Symbol
  • Description

Proposals and Voting:

  • Voting period duration
  • Required stake to propose: required amount of DAO tokens to stake at the time of proposing. Currently follows the formula: b + proposalSize. Where:
    • Proposal size is autocalculated based on the amount of transfers/registry updates (will get outdated soon on the contracts side)
    • B is a constant amount of tokens
  • Returned stake after proposal rejection
  • Transfer amounts (Treasury only): maximum and minimum amounts that can be transferred in a treasury proposal transfer. Currently only supports XTZ
  • Quorum threshold: currently a natural number representing the total amount of votes required for a proposal to pass. Each token staked in a vote operation represents a vote. Therefore, with a quorum threshold of 500, a vote that stakes 500 tokens would make the proposal pass.
  • Maximum proposal size

Distribution Settings:

  • TokenHolders: initial token holder addresses and their initial balances. At least 1 is required.
  • Administrator
  1. You will then be taken to the review page. From here, click the LAUNCH button on the bottom right corner.
  2. You will be redirected to the Launch screen. Do not close your browser tab until the whole process is complete (you are able to see and track progress by looking at the progress bar of this screen). You will be asked to connect your wallet if you haven't already, and then will be asked for 2 signatures: the first one originates the Metadata Carrier contract and the second one originates the actual DAO contract. When the originations are complete you will see a success message and a Go to my DAO button

Exploring DAOs

Go to the home screen. From there you will see a list of all DAOs created in Homebase. They load in groups of 8 for load balancing (will be improved later on with indexer). There is a searchbar available, however, note that searches done using this bar will only yield DAOs that have been already fetched, it will not trigger additional async requests.

Specific DAOs can be explored by clicking on them in the home screen or by URL:

https://tezos-homebase.herokuapp.com/explorer/dao/${DAO_ADDRESS}

Managing a DAO

All DAOs, regardless of their template, have:

DAO page: contains all general DAO information. Here you can see:

  • Current cycle
  • Time left to vote
  • DAO name and description
  • DAO template type
  • Token holders and their balances
  • Active proposals
  • Frozen tokens
  • Voting addresses
  • Execute button

Proposals page: contains all proposals related information and related actions. Here you can see:

  • DAO name
  • New Proposal button and creation modal
  • Execute button
  • Active proposals
  • Frozen tokens
  • Voting addresses
  • Tables with all proposals, passed proposals and active proposals. Each proposal item contains:
    • Title
    • Hash
    • Creation date and cycle
    • Quorum reached vs quorum threshold
    • For/Against votes vs total votes

Proposal detail page: contains all specific information about a proposal and vote actions. Here you can see:

  • Breakdown of the proposal's details (transfers to execute, registry items to update, among others)
  • Proposal title and description
  • Status badge and history
  • Quorum reached vs quorum threshold
  • Proposer
  • For and against votes, each with a detailed modal
  • Vote for and against buttons and modals. Only enabled if proposal is active

Proposal creation modal: all proposal creation modals support multiple operations batched in the same proposal and also allow the user to batch upload transactions with a JSON file. This JSON should follow a specific signature, based on the template type of the DAO. See proposal JSON signatures for each template

DAO Template specific pages and details:

Each DAO template has unique pages related to template specific actions. Also, the proposal creation modals are different across templates.

Registry

Registry page: this page contains a table where all registry items can be visualized, and a table that contains a history of all proposals that updated the registry. Each registry item can be clicked to get a read-only modal that displays the item's key and full value, additionally, clicking the settings icon in each row opens a modal to create a proposal to edit the clicked item. This page also contains a New Item button to create a proposal to add a new item.

Proposal types

There are 2 types of registry proposals:

  • Edit proposals: used to edit one or several registry items
  • Add proposals: used to add one or several items to the registry

At a contract level, there is no such distinction, but in the UI it exists to let the user create a new key or select a key from a dropdown of existing keys, depending on his intention.

Proposal JSON signature:

{
  "foo": "baz",
  "bar": "qux",
  ...
}

Treasury

Holdings/Treasury page: this page contains a table with all DAO holdings organized by token (currently, only supporting XTZ). And also contains a table with all outbound transfers made from the DAO.

Proposal JSON signature:

[
  {
    "amount": 15,
    "recipient": "tz1RKPcdraL3D3SQitGbvUZmBoqefepxRW1x"
  },
  {
    "amount": 20,
    "recipient": "tz1Zqb3hBBN8wLcJYhADcasi1jZdp2YLdG3L"
  },
  ...
]

Contributing

Developer Docs

Running the project

To run the project:

  • Make sure you have node installed
  • git clone [email protected]:dOrgTech/homebase-app.git
  • cd homebase-app
  • yarn
  • Create a .env file in the root, based on the .env.example provided in the code and ask one of the maintainers for the Pinata API Key
  • yarn dev

Glossary

  • Execute (Flush): execute all passed proposals from periods previous to the last one. If the proposal is rejected or did not meet the quorum threshold, then the Execute operation removes it from the proposals list.

  • Administrator: address with permissions to mint, burn and transfer tokens in the DAO without a proposal. It is configured by the DAO creator and can be another contract (like a multisig)

  • Proposal size: metric that describes the size, in packed bytes, of a proposal's metadata. Therefore, the bigger the proposal arguments are (more transfers or more registry updates), the bigger the proposal size is.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].