DEV Community

Cover image for Using Blockchain Technology Without A Wallet
Tushar Ojha
Tushar Ojha

Posted on

Using Blockchain Technology Without A Wallet

Blockchains allow for lots of novel use cases that leverage their open and decentralized tech, but the industry is still nascent, with lots of hurdles for user adoption. Let’s discuss how we can minimize these hurdles to bring blockchain tech to the masses, without them even knowing about it.

The Need for Wallets

Typically, using a blockchain requires using a piece of software called a “wallet” to store your private key. These wallets often take the form of extensions for popular web browsers (like Google Chrome). There are downsides to this, such as the fact that not all wallets support every blockchain, often resulting in users having to install multiple wallets.

Modal asking user to save Private Key

The main reason to use a wallet is to manage your private key, allowing you to repeatedly access the same account, which is important if you are storing valuable assets such as tokens or NFTs on that account. These tokens are needed to pay transaction fees on blockchains, allowing users to use the network.

But what if you could use a blockchain without a wallet?

A Wallet-Free Experience

There are two methods of storing private keys locally (on a user’s computer), without using a wallet. The first is to use an Iframe app (like Login with Google), and the second is to simply store the private key in the local storage.

Wallet Free Login Experience with a Simple Click

By using one of these methods, a user no longer needs a wallet. Applications can sign transactions on behalf of users. Obviously this can present security risks, but users can use this set up for things that are low stakes, such as liking a post on a social network. However, if this user needs tokens in order to interact with the network, they will likely still want to use a wallet, in order to better manage and secure their tokens.

It is worth noting that not all blockchain users necessarily need tokens. Subsocial, a Web3 social platform, uses a system called Energy to enable dapp developers to easily cover the transaction fees of users. This can be done with just a few lines of code:

const burnAmount = 1 // 1 SUB
const parsedBurnAmount = burnAmount * 10 ** 10 //SUB token uses 10 decimals
const target = '3osmnRNnrcScHsgkTJH1xyBF5kGjpbWHsGrqM31BJpy4vwn8'
const tx = api.tx.energy.generateEnergy(target, parsedBurnAmount.toString())

Enter fullscreen mode Exit fullscreen mode

Test it live on the Subsocial Playground.

As a result of this, if a dapp supports the energy system, users of that dapp don’t even need to think about tokens — they can just use the application.

By combining these two points, users can sign into decentralized applications using their locally-stored private key, with their public key acting as their user ID, and they will not need tokens (thanks to Subsocial’s energy system). In this way, anyone can interact with a blockchain without installing and setting up a wallet. This is similar to the classic Web2 model where anyone can create an anonymous account on a forum and start using it right away to discuss any topic in the world.

A great example of this in Web3 is Grill.chat, an anonymous and censorship-resistant chat application powered by Subsocial. However, unlike in Web2, users don’t even need to create an account to get started chatting on Grill.chat, they just need to send a message, and an account will be generated for them, along with some energy.

Login Modal

Not all blockchain use cases require wallets and token ownership, and Subsocial’s Grill.chat is a great example of pioneering ways to onboard more users to Web3, without them even realizing it. We are moving towards a time where people will be using blockchain tech without knowing it, and solutions like this help move us toward that future.

Thanks a lot for reading!

Resources

Wallet-free On-Chain Chat Experience: https://grill.chat

Subsocial Network: https://subsocial.network

Try Energy System on Subsocial Playground: https://play.subsocial.network/energy/generate

Subsocial Developer Chat: Join Now

Top comments (0)