Web3

Prototypes, patterns and protocols using Blockchain & Holochain

The best of both worlds...

What you love best about Blockchain—the control, trust and transparency—can be brought to every application out of the box with Holochain, with the added benefits of scalability, ease of deployment, and and the ease of use people are accustomed to in web apps. The sections below represent works in progress in the form of prototypes, patterns and protocols that can help Blockchain based Web3 projects and communities understand how they can interoperate and use Holochain to augment and extend the decentralized experience.

Group coherence with The Weave and Moss

The Weave defines an interaction pattern for Holochain hApps to be added as "Tools" into group spaces. Moss is a reference implementation of the Weave pattern that includes a host of tools like chat, video-conferencing, KanBan boards, governance tools, games, collaborative editing and more.


Moss is an ideal platform for experimenting with Progressive Decentralization, where DAOs can start using decentralized tools for team conversations, project management and governance. Because groups can easily choose just the tools they want for their group, and because tools are interoperable, The Weave and Moss allow a progressive adoption and integration path as groups continuously add more components to their distributed Holochain-based group space, while continuing to use legacy platforms as needed.


'How' is a governance prototype and protocol with workflows for proposals and supports meta governance for groups and communities to maximize collective alignment. Add it as a tool to Moss and customize it to your community needs.

Repo: https://github.com/lightningrodlabs/moss
Repo: https://github.com/holochain-apps/how
Moss screenshot

Binding your crypto wallet to a Holochain agent

An important part of using Holochain with EVMs is the binding of your public key from your crypto wallet to the agent key of the Holochain application. This can be done at any time you want to interact or this can be done upon entry into the application space. In the NFT video demo below we are showing the binding upon entry which saves a record of the wallet public key to the users source chain signed by the private key of the Holochain agent. This sort of action can be done completely offline.
https://walletconnect.com/
https://github.com/hardyjosh/nft-payload
Binding wallet to Holochain agent key screenshot

Membership Proof: proving access rights to Holochain application based on oracle

Holochain applications can require proofs for entering the shared spaces. This is useful for creating group spaces with membership validation you can trust. Limits can be based on any validatable data from an oracle or other API context. Without a validated proof, peers will reject the incoming agent key when it tries to connect to the application network. Having a membrane proof is what protects your P2P application from sybil attack.
https://hackmd.io/@hololtd/Sk2RXMA8K
https://walletconnect.com/
https://github.com/hardyjosh/nft-payload
Membership proof screenshot

NFT Minting through Holochain app using Rain Protocol

This prototype demonstrates the binding of an EVM key to a Holochain agent key and then it shows the user build a payload for an NFT by uploading an image in Holochain and then minting the NFT on the Rain Protocol before transfering it to the user's wallet.
https://www.rainprotocol.xyz/
https://github.com/hardyjosh/nft-payload

Notacle Pattern

Notacles have the transparency of an oracle with the trustworthiness of a notary, with the added benefits of proof and verifiability. The pattern allows you to transit back on-chain with Holochain proofs so as to execute onchain following fullly verified and validated actions taken on Holochain applications.

Notacles Flow Chart

In the use case shown in the flow chart, the first step is having a notacle be authorised in your smart-contract. This enables the smart-contract to approve operations that include proofs created from the Notacle's public key. For example you might structure the contract to accept a notacle proof for executing certain transactions on your contract such as kicking off NFT minting or releasing a limited amount of treasury funds. What this allows is to move all discussion, proposals, and history of your governance as well as the actual voting within the context of a Holochain application which is fully validated gas-less, and serverless.


A vote by thousands of DAO members could take place on Holochain and once the notacle has created their proof that confirms the governance action was successful, anyone at all could then use the proof in a single transaction on-chain, saving the community potentially thousands of dollars in gas fees required for on-chain voting.


https://www.rainprotocol.xyz/
https://github.com/hardyjosh/nft-payload

Join the Conversation
Discord & Community Engagement

Visit Discord Site
<DEVELOPERS/>
It looks like you are using Internet Explorer. While the basic content is available, this is no longer a supported browser and some functions and styling may not work.