The Interledger Community 🌱

Cover image for Immersive Payment β€” Grant Report #1
Rabimba Karanjai for Immersive Payment

Posted on • Edited on

Immersive Payment β€” Grant Report #1

Project Update

It has been more than 6 months now that I have had the Immersive Payments, Spark Grant. Since then I have worked on realizing the scope of the project and finally, I am here to give an update.

The project aimed to solve the following facets of distributed payment in the space of webvr.
Can we have micro-payment enabled for small micro assets?
Can we have a way for content and asset creators to define a way to have these transactions as part of a self-hosted (or managed) marketplace
The initial concept was simple. Starting with 3d assets and models which a creator normally creates for making a virtual reality or even augmented reality scenes. Instead of having to buy them, can a creator benefit from the audience having more control over having added third-party assets.

Initial Prototype:

The initial prototype for the project depends on Spoke and creating scenes for mozilla hubs. We wanted to see if we can have extended portions of these scene where some characters can be Monitezied using Web monitized while others are still under a free domain.
For the initial experiments, we wanted to see if a whole web page running a simple aframe webVR scene can be monited or not.
As it turns out it is relatively simple to enable web monetization in a simple webvr page and host it. And it's also fairly easy to add conditional's to the page too. For example to

 <script defer src="cdn.coil.com/monetized-classes.js"></script>
  <style id="wm-stylesheet">
    .wm-if-monetized { display: none; }
    .wm-if-not-monetized { display: none; }
  </style>
Enter fullscreen mode Exit fullscreen mode

This enables web monetization on those elements.

Or we can have a whole scene hidden. As you can see in this demo: https://webm-roomscale.glitch.me/

Web monetized room-scale webvr demo

As you can see the browser first tries to verify if there is already a subscription attached to the coil account and enables the WebVR scene based on that. (caveat: you will need coil extension installed and logged-in in your browser if you want to test the URL)

Our next step was to see how can we have this implemented in individual elements of the scene. If you want to know more about adding web monetization to specific elements on your website. You can read the excellent guide here.

As a next step, we start by using spoke for creating the vr scenes for integrating into Mozilla Hubs. The goal here is to have monetization enabled for separate assets inside the scene.

Progress on objectives

Progress till now:

  • We can now enable selective web monetization for specific webvr assets
  • Separate 3d assets can be monetized

Ongoing:

  • Have a centralized place where we can allow asset creators to highlight alternate story paths associated with exclusive assets
  • Have a way of enabling alternate story paths for webvr relates stories (this is enabled by creating alternate paths for the story to end/expand. However the present challenge is to see how can the implementation be done so that it doesn't cripple the rest of the scene)

Planned:

I was fortunate to get an extension of the deadline. With that in mind, we have plans to actually contribute to the underlying protocol and have a proposal for conditional interactions. Based on our recently accepted work at ICBC which can be accessed here. Under the name "On Conditional Cryptocurrency with Privacy"

Key activities

The project had two separate aspects going side by side One was the initial scope of the project to have a easy way of integarting web monetization in WebVR and WebAR scenes. But another aspect became how to make the protocol more anonymous and also at the same time have user deployable way of having a payment protocol. That inspired work on condition coin which was presented in ICBC.

Communications and marketing

This is the weakest point in the project till now. Only my advisor and a few other friends know about this project. However, just on 4th May, this has been mentioned in our work at IEEE ICBC and we have had a healthy dose of interest and questions regarding this.
In future I plan to publish a blog weekly on the updates of the project and how early adopters can play with the code and provide feedback.

This concludes the very short initial update of the project. Some personal health issues along with the present Covid surge in my home country India, where I am right now made periodic updates to the project pretty difficult. A difficulty which I plan to address in the next few weeks.

What’s next?

Two follow-up blog post will follow this post detailing some of our design choices, codes, and how you, if you want right now, can test some of the features. I would love to have your feedback and directions on the same.

Top comments (2)

Collapse
 
chrislarry profile image
Chris Lawrence

@rabimba This is fascinating progress, thank you for the work and the report. We totally understand that it realities in grantee's lives (and all of us) have been and will continue to be unpredictable. Thanks for your honesty and for keeping us updated. Please stay safe my friend.

Collapse
 
rabimba profile image
Rabimba Karanjai

I hope to have more updates on it again! Even though the Grant report #2 wasnt what I ahd envisoned it would be.
But I do have some interesting updates to share by end of this month even though the official timeline has passed.