Blurt Key Manager Server Client - KeyLess logins & transaction signing

in blurt •  4 months ago 

What does WhaleVault do?

  • Let's first answer this basic question - What does a WhaleVault do?
  • WhaleVault holds your keys.
  • Any dApps built on Blurt, sends request to WhaleVault for login (sign something)
  • Any dApps built on Blurt, sends request to WhaleVault for broadcasting something e.g. Comment, Upvote, fund-transfer etc.

Why do We need Key-Manger-Server-Client?

  • WhaleVault is limited to same system. What if you wish to login to other system without re-importing keys into different desktop?
  • WhaleVault has to be on same browser.
  • What happens to mobile users? How can they login?
  • To answer all of these, we built key-manager-server-client.

KeyLess Clients, Wallet based Approvals

  • Clients / dApps will never hold keys
  • Server will only hold the data which needs to be signed / broadcasted
  • Wallet will only scan, approve & broadcast transactions.
  • With this approach, user can login to any system, using single wallet.
  • User can keep keys on one mobile-device & scan QR codes to approve login & broadcast transactions.
  • With this approach, user can login & logout with ease without moving keys from one desktop to other desktop.

Enough Talk. Give me the damn code

How does a login work?

how does a login work

  • As shown in the screenshot above, dApp will show a text-field where user will enter username & hit login button.
  • dApp will generate a QR code & show it to user.
  • User will open Blurt-wallet app, scan QR code & approve login
  • dApp will update the UX based on the status of the login-request

How does any other broadcast work?

how does broadcast work

  • As showin in the screenshot above, dApp will prepare operations to broadcast & generate QR code accordingly.
  • dApp will show the QR code to user.
  • User will open Blurt-wallet app, scan QR code, approve & broadcast operations
  • dApp will update the UX based on the status of the operations

Who can run key-manager-server?

  • Literally any one
  • Checkout the source code
  • Run it with docker
  • Setup NGINX
  • Make it publicly available

How a dApp can point to any key-manager-server?

  • It's a dApp-developer's responsibility to show a server chooser.
  • I guess, we're already showing list of RPC nodes.
  • Just like that, get a list of servers who are running the service & list them in the dApp
  • User can choose any server from the list.

I don't understand a shit. WTF is this?

  • Alright, I get it. It's little bit technical.
  • How about a demo video?
  • Check this demo video
  • Those who aren't technical may not find it so exciting
  • but those who are techincal, check it out & let me know what do you think.

What's is next?

  • Source code is open-source.
  • Those who have feedback, please feel free to raise issues
  • Those who are technical, I request them to come forward, not only review code but alse raise pull request 🙏

Support me back

Vote me as witness

Blurt Key-manager-server-client

Download Android App from Google Play Store.

Download PWA App on iOS or Android


Cheers
Have a good one

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  

Excellent. I’m using Whalevault too. 🐳 🔐

Did you get chance to try this app - https://blurt-comments.web.app/?
Give it a go.

Your post after many days is still appreciated by blurt users.

Post has received 1 additional community votes in the past 7 days. Reward from this comment will be credited to your account to additionally support your work!

You can check post ranking on https://blurt.pl/en/promo.php

if you want to support others by this tool just vote on any article you like at any time no matter when it was publish. Help dig up good content from the depths of the Blurt network and reward good authors! :)

  ·  4 months ago  ·  

Re🤬eD

🥓

  ·  2 months ago  ·  

✌️

  ·  last month  ·  

Doesn't the Blurt gitlab have an awesome-blurt repo/readme yet? It should, especially for tools like this!

I captured a video & explained.
You talk about readme :|
How about you contribute by adding a readme & raise a PR?
in case, if you've doubts, we can continue discussion here.
Reply sent using Blurt Comments

  ·  last month  ·  

Because I am new here and I have no idea what client apps and libs etc are available on Blurt. That's why someone more knowledgable on Blurt should at least get one started. It will help to promote the platform's use too, wouldn't you agree?

This is where you should look for - https://blurt.blog/dapps
Reply sent using Blurt Comments

  ·  28 days ago  ·  

aaah, that's a nice one. i must have missed the link to that page, thank you! :)

gif-2
Reply sent using Blurt Comments

  ·  3 months ago  ·  

Nice dapp

Did you give it a try?

  ·  2 months ago  ·  

Nice...

Could you please givee some "howto Develop for blurt" resources?

Thank You

Open Gitlab & search for Blurt. You'll find most of the things overthere. I am just a mobile-app-front-end guy.
May be @tekraze, @saboin, @nalexadre can help.

  ·  2 months ago  ·  

Thank You

You are most welcome
Reply sent using Blurt Comments