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
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.
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 :
Team
@stoodkev : CEO - Witness
@cedricguillas : Full-stack Developer - Witness
@theghost1980 : Front-end Developer
@nateaguila : UI/UX
@yabapmatt : Advisor - Witness
@aggroed : Advisor - Witness
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
Glad this is helping you!
Did you find the playground useful?
Very helpful.
~~~ embed:1646084118717841410 twitter metadata:MTE2Mzg0MTcxNjExOTYyMTYzMnx8aHR0cHM6Ly90d2l0dGVyLmNvbS8xMTYzODQxNzE2MTE5NjIxNjMyL3N0YXR1cy8xNjQ2MDg0MTE4NzE3ODQxNDEwfA== ~~~
~~~ embed:1646490634532864000 twitter metadata:MTA2NjgxNjU2MTAyODE4MjAxNnx8aHR0cHM6Ly90d2l0dGVyLmNvbS8xMDY2ODE2NTYxMDI4MTgyMDE2L3N0YXR1cy8xNjQ2NDkwNjM0NTMyODY0MDAwfA== ~~~
~~~ embed:1646659274909827072 twitter metadata:MTQwMzc3MTgzNTE2MzAyOTUwOXx8aHR0cHM6Ly90d2l0dGVyLmNvbS8xNDAzNzcxODM1MTYzMDI5NTA5L3N0YXR1cy8xNjQ2NjU5Mjc0OTA5ODI3MDcyfA== ~~~
The rewards earned on this comment will go directly to the people( @forykw, @hive-blockchain, @jeffjagoe, @jomancub, @documentinghive ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
Congratulations @keychain! Your post has been a top performer on the Hive blockchain And you have been rewarded with the following badge
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:
Support the HiveBuzz project. Vote for our proposal!
The Hive.Pizza team manually curated this post.
$PIZZA slices delivered:
@jomancub(1/5) tipped @keychain
Please vote for pizza.witness!
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
SDK stands for Software Development Kit, it is basically a set of software tools to make the integration of a third-party easier.
Ah that’s great, I hope many will use it to upgrade their login experience and improve the security of their users
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.
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!
Discord
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
Keep up the great work guys👍
!PGM
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!
Discord
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
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!
Great, I was lookibg forward to this. Now it becomes easier to implement keychain in my dAPPs
This is amazing!! will help a lot the learning process of new devs
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.
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?
Awesome work, thanks so much for continuing to improve Keychain 🙌
This post has been manually curated by the VYB curation project
I can't see my powerdown or transfer options in my wallet, does anyone know what the fuck is going on?
Cg
Great article! The introduction of Hive Keychain SDK and Playground is fantastic news for Hive application developers.
!PIZZA
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
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.
Solved!
$WINE
Congratulations, @theguruasia You Successfully Shared 0.800 WINEX With @keychain.
You Earned 0.800 WINEX As Curation Reward.
You Utilized 4/4 Successful Calls.
Contact Us : WINEX Token Discord Channel
WINEX Current Market Price : 0.200
Swap Your Hive <=> Swap.Hive With Industry Lowest Fee (0.1%) : Click This Link
Read Latest Updates Or Contact Us
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...
I'm sorry I missed this earlier ... it is awesome. I've been wanting to figure out how to implement keychain, and boom.... I stumble across this old post.
Thanks!
!lolz
lolztoken.com
It's just something I can see myself doing.
Credit: reddit
@keychain, I sent you an $LOLZ on behalf of lolztoken
(1/10)
NEW: Join LOLZ's Daily Earn and Burn Contest and win $LOLZ