Hive Keychain SDK and Playground

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@keychain·
0.000 HBD
Hive Keychain SDK and Playground
![SDK.png](https://files.peakd.com/file/peakd-hive/keychain/23xytGp5mKQFzhZjRgV5HU4TuBPrbmRX7CXpG33q52PpzksGDtdTR6RyAggxhqP8xD5x2.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](https://github.com/hive-keychain/keychain-sdk) and [npm](https://www.npmjs.com/package/keychain-sdk).
You can find the basic documentation on our [README](https://github.com/hive-keychain/keychain-sdk/blob/master/README.md).

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](https://files.peakd.com/file/peakd-hive/keychain/EqYx5uzWdenFc7aB8th38dNzSnad13Sk78GCnMDhTMovyp8v7dpgwPsL89VvsG9YcpR.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](https://files.peakd.com/file/peakd-hive/keychain/23tSoEJrPcByUtVGtfHXHxrjZi2HQBVF6ErBUXCEr5XfRTpMUKRuhXtTuZKib6SAZcuqo.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](https://files.peakd.com/file/peakd-hive/keychain/BRNgvm9y-image.png)

#### Team


@stoodkev : CEO - [Witness](https://hivesigner.com/sign/account-witness-vote?witness=stoodkev&approve=1)
@cedricguillas : Full-stack Developer - [Witness](https://hivesigner.com/sign/account-witness-vote?witness=cedricguillas&approve=1)
@theghost1980 : Front-end Developer
@nateaguila : UI/UX
@yabapmatt : Advisor - [Witness](https://hivesigner.com/sign/account-witness-vote?witness=yabapmatt&approve=1)
@aggroed : Advisor - [Witness](https://hivesigner.com/sign/account-witness-vote?witness=aggroed&approve=1)


---

### Support Hive Keychain development by voting for [our proposal](https://peakd.com/hive/@keychain/hive-keychain-proposal-dhf-ran717) on [PeakD](https://peakd.com/proposals/216) or with [HiveSigner](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B216%5D&approve=true).
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,