Project-DARC /DARC

Decentralized Autonomous Regulated Company (DARC), a company virtual machine that runs on any EVM-compatible blockchain, with on-chain law system, multi-level tokens and dividends mechanism.

★ 9,137⑂ 6,565👁 3,047⑃ 28● 69▤ 0
TypeScriptNOASSERTIONCreated 2023-03-27darc.app
+0
Daily
9,137
stars
6,565
forks
3,047
watchers
28
prs
69
issues
0
releases

README

Decentralized Autonomous Regulated Company (DARC)

Welcome to the official repository for the Decentralized Autonomous Regulated Company (DARC) project. DARC is a project
that aims to create a decentralized autonomous company that is regulated by a plugin system based on commercial laws.
The project is currently in the early stages of development and is not yet ready for production use.

English | 简体中文 | 日本語

 Star History




 Join our community

Telegram: https://t.me/projectdarc
Discord: https://discord.gg/QzKbTHVgGG

 Whitepaper

English: darc-whitepaper.pdf

Chinese(中文版): darc-whitepaper-cn.pdf

 What is DARC?

Decentralized Autonomous Regulated Company (DARC) is a company virtual machine that can be compiled and deployed to
EVM-compatible blockchains with following features:

- Multi-level tokens, each level token can be used as common stock, preferred stock, convertible bonds, board of
  directors, product tokens, non-fungible tokens (NFT), with different prices, voting power and dividend power, which
  are defined by the company's plugin(law) system.
- Program composed of a series of DARC instructions that include managing tokens, dividends, voting, legislation,
  purchasing, withdrawing cash, and other company operations.
- Dividend Mechanism for distributing dividends to token holders according to certain rules.
- Plugin-as-a-Law.The plugin system serves as the by-law or commercial contract that supervises all operations. All
  company operations need to be approved by the plugin system or corresponding voting process.

 By-Law Script

By-law script is a JavaScript-like programming language that is used to define the company's commercial rules and
operations on DARC. For example:

javascript
mint_tokens(   // mint token operation
    [addr1, addr2, addr3],   // token address
    [0, 0, 0],   // token class 
    [500, 300, 200]  // number of tokens
);

pay_cash(100000000, 0, 1); // pay 0.1 ETH as purchase

transfer_tokens(   // transfer token operation
    [addr1, addr2, addr3],   // token address
    [0, 0, 0],   // token class 
    [100, 100, 200]  // number of tokens
);

add_withdraw_cash(10000000);  // add 0.01 ETH to withdraw balance

withdraw_cash_to(  // withdraw cash from my account to other address
    [addr4, addr5],       // withdraw cash to addr4, addr5
    [10000000, 10000000]  // withdraw amount 0.01 ETH, 0.01 ETH
);




Above By-law Script will be transpiled via code generator and sent to corresponding DARC VM contract. The DARC will
execute the program if the plugin system approves. To add plugin and voting rules to the DARC, we can simple compose the
plugin conditions and voting rules, then send them via operation add_voting_rule(), add_and_enable_plugins()
or add_plugins(), and they will be deployed and effective immediately if the current plugin system approves the
operation.

Here is a quick example, assume we need to limit the transfer of tokens by major shareholders (25%) by asking the board
of directors for an all-

Top issues

Discussions

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON