SubDAO Completes the First Delivery Milestone for Web3 Foundation Grants

We are very honored to announce that SubDAO has officially completed the first milestone delivery for Web3 Foundation Grants and passed the acceptance test.

SubDAO joined the Grants scheme in November 2020 and is also the first Polkadot project to implement DAO basic functions on Substrate, opening a new exploration of DAO governance on the Polkadot ecosystem. The ultimate goal of SubDAO is to provide an open SDK for the Polkadot ecosystem and promote the common development of DApp and the DAO ecosystem on the Polkadot ecosystem.

(View deliverables on Github:https://github.com/w3f/Grant-Milestone-Delivery/blob/master/deliveries/subdao-network_milestone_1.md )

The development team has already delivered the following modules:

1. The Substrate-based SubDAO blockchain node can be used as a parachain to Kusama and Polkadot.

2. The main contract module is used to manage various complex DAO contract templates.

3. Treasury fund management module, including treasury creation/deposit/withdrawal/authority control.

4. Voting management module, including voting type selection/options/number setting/time limit setting/.

5. Member management module, including creators add/remove administrators, administrators add/remove other members, and modify DAO information.

6. SubDAO front-end interface.

SubDAO uses Substrate as the underlying framework. The cross-chain capabilities and renewability of the framework enable the SubDAO network to achieve cross-chain multi-asset management or technological innovation. The exclusive use of the entire chain allows users to trade faster with lower trading fees. SubDAO uses ink! to write smart contracts and then deploy them to the chain. The advantage of this method is that developers only need to compile and deploy smart contracts to the ink! module of Parachain, instead of modifying the source code of Parachain. Therefore, the complex organization and management function requirements of different DAOs can be quickly launched.

[SubDAO Developers’ Guide]

You should first create a SubDAO node from source code.

It is recommended to use Docker to run and set it up.

Start the service using the subdao-node, subdao-frontend and polkadot applications.

Open http://localhost:3001/ in the browser and add the following configuration Setting -> Developer

Get and configure the contract, it is written in ink!.

The “subDAO-contracts/release” folder provides pre-compiled contracts. Of course, you can also compile contracts from source code. The script provided by SubDAO simplifies the contract preparation process, and meanwhile collects the editing results in a unified directory to facilitate contract deployment and use.

Next, use Polkadot JS App to deploy the contract, download and compile the Polkadot JS application code (v0.71.2), run “yarn start” or use the provided docker image and compose file. Visit the homepage http://localhost:3001/ and set the node IP and port.

Enter “Developer-> Contracts” and upload WASM with a few click. Select the ABI and WASM files required to deploy the contract. Then click “Upload”, “Submit” and “Sign” to upload the contract.

After the contract is uploaded, the contract can be instantiated on the chain, and all SubDAO contracts are instantiated by the main contract.

After deploying the main contract, you need to initialize the main template management function, call the init function and set the code hash of the contract template manager.

Then configure the DAO template in the tool, call the function in the “addTemplate” main contract and fill in the accountid and code hash of the creator of each component of the template. For example, we create a DAO template using warehouse management, DAO tokens, organization management, voting, and basic information of the template.

After adding the DAO template, you can create a DAO through the SubDAO front-end (http://localhost:3001/)!

About SubDAO

SubDAO is a DAO infrastructure based on Polkadot, where any decentralized organization is allowed to conveniently create and manage a DAO. SubDAO does not only connect DAO with DApps to realize DAO’s cross-chain management, but also bridges Web 2.0 and Web 3.0.

Through SubDAO’s Web2.0 middleware, users can implement DAO governance directly on traditional social platforms. Developers can quickly integrate DAO governance in their blockchain, web pages, iOS/Android mobile devices and PC applications through the SubDAOO Airfone SDK. In addition, SubDAO’s series of templates and ecosystem tools allow DAO to implement various decentralized application scenarios such as crypto assets management, credit lending, and instant messaging.

Follow SubDAO

Twitter: https://twitter.com/subdao_network

Telegram:https://t.me/subdao

Medium:https://medium.com/@subdao

Github: https://github.com/SubDAO-Network/

Website: https://subdao.network

Discord: https://discord.gg/Z8jtYqWbbN

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
SubDAO Protocol

SubDAO Protocol

SubDAO is a multi-chain DAO protocol that helps manage digital assets through multi-signature, voting and other decentralized features.