Hive Keychain SDK and Playground

avatar
Authored by @stoodkev

SDK.png

As mentioned in our last progress report, we've worked hard creating a Keychain SDK and associated documentation and playground these past few months.

In our current proposal, one of the items we wanted to tackle was a Keychain API v2 that would make interacting with Keychain easier. After giving it more thought, an SDK made more sense to use for the following reasons:

  • No need to handle backward compatibility, Keychain code remains the same
  • Strong typing (Typescript)
  • More common way to integrate a third-party

SDK

With this in mind, we developed our SDK, available on Github and npm.
You can find the basic documentation on our README.

In a nutshell, it allows developers to :

  • Detect if Keychain is available
  • Override the RPCs used by Keychain, either at the instance or at the operation level
  • Login with Keychain with one line of code (the signatures verifications are made within the SDK)
  • Perform all Keychain requests

Playground

Screenshot 2023-04-11 at 1.28.41 PM.png

Rather than listing the requests in the documentation, we provide a playground on which developers can test all the different requests, and see the corresponding code, as well as the response returned by Keychain.

The playground is live at https://play.hive-keychain.com.

The different requests are grouped by categories to make them easier to search.

Screenshot 2023-04-11 at 1.27.55 PM.png

We hope that by making Keychain integration easier, we will make it easier for new dApps to be developed on Hive in general!
Let us know what you think!

Discord

To communicate with us or become a Beta tester, join our Discord by following this link :
https://discord.gg/3EM6YfRrGv

Or scanning this QR Code :

image.png

Team

@stoodkev : CEO - Witness
@cedricguillas : Full-stack Developer - Witness
@theghost1980 : Front-end Developer
@nateaguila : UI/UX
@yabapmatt : Advisor - Witness
@aggroed : Advisor - Witness


Support Hive Keychain development by voting for our proposal on PeakD or with HiveSigner.



0
0
0.000
29 comments
avatar

Sounds good! As I’m no developer I have no idea what an SDK is. Could you explain that?

All the best with this development!

!PGM

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO tokens

remaining commands 1

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

SDK stands for Software Development Kit, it is basically a set of software tools to make the integration of a third-party easier.

0
0
0.000
avatar

Ah that’s great, I hope many will use it to upgrade their login experience and improve the security of their users

0
0
0.000
avatar
(Edited)

Pro Tip: When publishing something like this, to avoid confusion, it's recommended the first instance should look like this, "Software Development Kit (SDK)," that way you've defined the acronym and can then use SDK freely any time after that. SDK in the headline is fine.

0
0
0.000
avatar

Keep up the great work guys👍
!PGM

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO tokens

remaining commands 9

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

This is absolutely brilliant and EXACTLY what I needed. I'm trying to develop my front end skills and I suck at javascript but this is precisely what I needed.

The feedback on errors (like telling me to put 3 decimals on the values) is a huge help!

Thank you

0
0
0.000
avatar

This is the best surprise I had in the entire week. 😍 You're fricking killing it! Exactly what I needed to go after some developers on Twitter!

0
0
0.000
avatar

Great, I was lookibg forward to this. Now it becomes easier to implement keychain in my dAPPs

0
0
0.000
avatar

This is amazing!! will help a lot the learning process of new devs

0
0
0.000
avatar

Thank you. Looks like I'll need to learn some java to do some of the things I want to produce now. :) Keychain is such an amazing and integral part of HIVE, and I'm grateful that we have. As said in the top level post, GO AND VOTE FOR THE PROPOSAL to ensure this is constantly being worked on.

0
0
0.000
avatar

Congratulations @keychain! Your post has been a top performer on the Hive blockchain And you have been rewarded with the following badge

Post with the highest payout of the day.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

LEO Power Up Day - April 15, 2023
The Hive Gamification Proposal
Support the HiveBuzz project. Vote for our proposal!
0
0
0.000
avatar

This new Keychain SDK and playground sound like great resources for developers looking to integrate Keychain into their dApps.

Since I'm not a developer myself, I'm curious to know if you have any plans to expand the SDK or playground with additional features, tutorials, or resources to further assist developers who are new to working with Keychain and the Hive ecosystem?

0
0
0.000
avatar

Awesome work, thanks so much for continuing to improve Keychain 🙌

This post has been manually curated by the VYB curation project

0
0
0.000
avatar

I can't see my powerdown or transfer options in my wallet, does anyone know what the fuck is going on?

Cg

0
0
0.000
avatar

Great article! The introduction of Hive Keychain SDK and Playground is fantastic news for Hive application developers.
!PIZZA

0
0
0.000
avatar

Keychain y one of the most greatest apps in Hive to keep secure our accounts. I prefer this method than others because it's more simple and practic once you navigate over the plataform. Is nice to know that it's getting better than it is

0
0
0.000
avatar

I would have asked what is SDK but I came across with a comment from someone having the same question.☺️ I thought I was just the one who got confused about it.

0
0
0.000
avatar

I'am having a hardtime trying to understand how to use the SDK to test my browser app, any tip? I'am trying to import it but since i'am using javascript and not nodejs i don't see a way to implement it correctly to test it...

0
0
0.000