DEV Community

d3bugTime
d3bugTime

Posted on

Tinkering a "Web Wallet" with Solana

What I did: Tested ways to obtain more Lamports

The first thing I want to highlight is the role of browsers that use Chrome for Web3 activities. This is due to developer prioritization, superior extension compatibility, and better hardware wallet support.

In my case, I used the Brave browser in my experiments, not only for privacy β€”I assumed that when dealing with money, privacy is crucialβ€” but also because testing it reminded me of something related to "crypto." This became apparent when I started installing browser extensions and a native Brave wallet appeared (with a somewhat basic UI compared to others).

Brave Rewards Picture

What surprised me: The way resources are scattered across the web

Brave itself provides small "rewards," and that caught my attention. Because it wasn't the only one; in Solana's own links, specifically this tutorial, it allows us to connect the tutorial with the "Browser Wallet" extension we have installed in our browser and earn more rewards as we learn.

Blueshift Tutorial Picture

Obviously, we're not talking about dollars but cents (or more likely, tenths of a cent). But the fact that there are so many reasons for us to continue learning Web3 is truly positive.

What's next: To be able to test with real resources in the future

When using the Browser Wallet or the Mobile Wallet, there are three network modes: Mainnet, Testnet, and Devnet. The one we're interested in for our current work environment is the last one.

Although we're currently only in Devnet test mode and the resources (money) aren't real, the SOL, or Lamports to be more precise, accumulate in our "Wallet" each time we do an "Airdrop" (or recharge), which is usually 2 SOL, but if we connect to our GitHub account, it increases to 5 SOL. Furthermore, as I show in the console, this value keeps accumulating, and if we create another new test wallet, we can even send some of the Lamports from one to the other (similar to a bank transfer).

Solana Devnet Faucet Picture

As I mentioned, it's somewhat limited for now, but it allows us to glimpse the scope of this technology and what will be learned in Arc 2 this week.

Top comments (0)