At Virto we created a simple to use Web Component called virto-connect
, it allows projects to connect their users to a Substrate blockchain like Kreivo in the simplest possible way, that is, enabling transactions without wallets or tokens!
virto-connect
is a standard piece of web technology you can integrate in your front-end framework of choice or in a simple static webpage by simply copying a piece of HTML markup.
<!-- import the component in your <head> -->
<script type="module" src="https://sdk.virto.dev/virto-connect.js" async></script>
<!-- place the custom element somewhere in your <body> -->
<virto-connect id="connect" server="mydao.fun"></virto-connect>
<!-- the modal can be triggered with a <button> for example -->
<button onclick="connect.open()">Connect</button>
Try it out!
Check our demo page, this is an early preview where you can see the component in action. In our demo we provision a temporary chopsticks fork of Kreivo with the necessary NFT membership that your DAO would normally send you during the registration process, the demo backend also simulates the authentication API that will be available for your decentralizable VirtoOS instance, VOS is an extensible backend you can install ink-like programs on and self-host or run in-browser.
Under the hood
virto-connect
is the door to VOS, the backend exposing the high level APIs that make the use of blockchain clients and other decentralized technologies completely transparent.
The authentication system connects to a Substrate blockchain like Kreivo that comes with the required pallets and components to make the wallet/token-less interaction possible. The Virto team is making its core components accessible to the general public via the frame-contrib
crate which includes:
- pallet-pass: The account abstraction that gives your user a unique account controllable by multiple devices like a passkey(faceID, fingerprint, yubikey, etc.).
- gas-tank: A non-fungibles extension that gives any member of a DAO(holder of an NFT) prepaid gas used to pay for transaction fees.
Your feedback is very valuable
I’m personally super excited about the possibilities of virto-connect
, finally giving mainstream users access to blockchain technology without the usual usability walls we are used to, so please try it out and let us know what you think or share some of your use cases. You can reach out on the Kreivo matrix channel.