Dapplets x BOS integration

Dapplets x BOS integration

Dapplets provides tools for embedding Web3 applications into any web page. Now we are integrating BOS to deliver BOS-applications to millions of new users on existing sites.

Created on 21st August 2023

Dapplets x BOS integration

Dapplets x BOS integration

Dapplets provides tools for embedding Web3 applications into any web page. Now we are integrating BOS to deliver BOS-applications to millions of new users on existing sites.

The problem Dapplets x BOS integration solves

Currently, the business model of online communities revolves around website owners who have complete control over their users' communications, allowing them to create and monetize all business processes single-handedly. However, this centralized ownership leads to issues such as a monopoly on attention and its monetization, as well as a loss of user control over their own content.

BOS as technology solves that problem by offering the creation of new sites and communities in a decentralized web. We propose to bring BOS-based applications to users in already existing sites and communities.

Adopting the concept of an Augmented Web gives users the ability to extend their user experience with new features, functions, and services on existing websites which wasn't possible before.

Challenges we ran into

  1. We needed to study the source code of near-social-vm and gateways to understand how to integrate vm to us. The following things were not obvious: props and callbacks to BOS component, mandatory wrapping of components in 'near/widget/TosCheck' and 'adminalpha.near/widget/TosContent', getting styles to then wrap them in shadow dom.

  2. To develop BOS components, we tried using a plugin for VSCode. It was not obvious how to use the props.json file to specify default props values. We had to do some digging in the source code of the plugin. We started a corresponding issue on GitHub: https://github.com/near/near-vscode/issues/21.

Tracks Applied (2)

Frontend & BOS Tools

Existing BOS Gateways are typically separate websites that render BOS components. They tend to be styled differently, wr...Read More

Proximity Labs

Web2 to Web3

We can run BOS applications with crypto-workflow right on top of existing communities on Twitter, Facebook, YouTube, Red...Read More

NEAR Foundation

Discussion

Builders also viewed

See more projects on Devfolio