Giter Site home page Giter Site logo

michavie / dao-sc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from newtmex/dao-sc

0.0 0.0 0.0 967 KB

Smart contract for managing & running DAOs with PeerMe.

Home Page: https://peerme.io

License: GNU General Public License v3.0

Shell 3.79% Rust 96.21%

dao-sc's Introduction

PeerMe DAO Smart Contracts

Smart contract used for managing and running DAOs through PeerMe on MultiversX Blockchain.

Specifically, two smart contracts:

  • The Entity Template: Is the actual DAO smart contract that users interact with
  • The Manager: Deploys and manages instances of the Entity Template smart contract & contains other utilities

Find the mentioned smart contracts on the Explorer:

Documentation

You can find extensive Documentation about DAOs & their supporting tools in our Knowledge Base:

  • To learn more about DAOs in general, read our Overview page.
  • To create your own DAO, follow the simple steps on the Setup page.
  • To better understand roles & permissions, check out the Roles & Permissions page.
  • To learn about the technical concepts, visit the Technical page.

Development

Requirements

  • The Manager smart contract must possess the ESDTRoleLocalMint role for the configured token of boost-reward-token-id โ€“ SUPERPOWER-6f4cee in our case

Deploy

Before deploying the smart contract to the blockchain, be sure to:

  1. Remove the exit part within the deploy function in interaction/manager.sh to disable deploy protection.
  2. Configure all variables within mxpy.data-storage.json for the corresponding network.
  3. Connect & unlock your Ledger device with the Elrond app open, ready to sign the deploy transaction.
. ./interaction/manager.sh && deploy

Upgrade

To upgrade the Manager smart contract:

. ./interaction/manager.sh && upgrade

To upgrade the Entity Template smart contract:

. ./interaction/manager.sh && upgradeEntityTemplate

Testing

You can run the tests with:

cargo test

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The GNU GENERAL PUBLIC LICENSE v3.0. Please see License File for more information.

dao-sc's People

Contributors

michavie avatar bucurdavid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.