Skip to content

Latest commit

 

History

History
175 lines (136 loc) · 4.65 KB

README.md

File metadata and controls

175 lines (136 loc) · 4.65 KB


An EVM Linux-powered rollup as a launchpad for crowdfundings
Debt issuance through crowdfunding with collateralized tokenization of receivables

license last-commit

Table of Contents

Overview

A crowdfunding platform designed for prominent content creators, enabling them to monetize their influence by issuing tokenized debt instruments collateralized exclusively by their tokenized future receivables. Based on Resolution No. 88 of the Brazilian Securities and Exchange Commission (CVM), the Brazilian SEC, the platform connects creators with a network of investors, offering a structured and transparent alternative to finance scalable businesses while leveraging the economic potential of their audiences, ensuring legal compliance and attractive returns for investors.

Docs Deck

Project Structure

└── tribes/
   ├── .github
   │   ├── dependabot.yaml
   │   └── workflows
   ├── LICENSE
   ├── Makefile
   ├── README.md
   ├── build
   │   └── Dockerfile.machine
   ├── cmd
   │   ├── tribes-rollup
   ├── configs
   │   └── sqlite.go
   ├── contracts
   ├── coverage.md
   ├── go.mod
   ├── go.sum
   ├── internal
   │   ├── domain
   │   ├── infra
   │   └── usecase
   ├── pkg
   │   ├── custom_type
   │   ├── rollups_contracts
   │   └── router
   ├── test
   ├── tools
   │   └── state.sh
   └── website

Getting Started

Prerequisites

  1. Install Docker Desktop for your operating system.

    To install Docker RISC-V support without using Docker Desktop, run the following command:

    docker run --privileged --rm tonistiigi/binfmt --install all
  2. Download and install the latest version of Node.js.

  3. Cartesi CLI is an easy-to-use tool to build and deploy your dApps. To install it, run:

    npm i -g @cartesi/cli

Important

To run the system in development mode, it is required to install:

  1. Download and Install the latest version of Golang.
  2. Install development node:
npm i -g nonodo
  1. Install air ( hot reload tool ):
go install github.com/air-verse/air@latest

Running

  1. Production mode:

    1.1 Build rollup from image:

    docker pull ghcr.io/tribeshq/tribes-machine:latest

    1.2 Generate rollup filesystem:

    cartesi build --from-image ghcr.io/tribeshq/tribes-machine

    1.3 Run validator node:

    cartesi run
  2. Unsandboxed mode:

    2.1 Build rollup from image:

    docker pull ghcr.io/tribeshq/tribes-machine:latest

    2.2 Generate rollup filesystem:

    cartesi build --from-image ghcr.io/tribeshq/tribes-machine

    2.3 Start the application inside a Cartesi Machine unsandboxed:

    cartesi-machine --network \
          --flash-drive=label:root,filename:.cartesi/image.ext2 \
          --env=ROLLUP_HTTP_SERVER_URL=http://10.0.2.2:5004 -- /var/opt/cartesi-app/app

Development

  1. Run development node:

    nonodo -- air

Note

To reach the final state of the system, run the command bellow:

make state

Testing

make test