ceramicnetwork / js-did

A simple interface to interact with DIDs that conform to the DID-provider interface.
Other
96 stars 28 forks source link

Add Sui Support #138

Open 0xzoz opened 1 year ago

0xzoz commented 1 year ago

[Add Sui Support]

Description

This was created due to an initial PR created here and the library no longer being supported

This PR is to add SUI wallet support. Sui is a new layer 1 blockchain developed by Mysten Labs, it is in the early stages of launching and is part of the Move ecosystem that originated from the development work around Diem created at Meta

The PR adds the pkh-sui package and additional changes to the cacao package to support it.

It is being added here as a draft in case the team wants to provide context or comments. Some unit testing is done but it is awaiting local development testing using Sui wallets and guidance around the addition of CAIP's for Sui network(see below)

How Has This Been Tested?

Local unit testing

Describe the tests that you ran to verify your changes. Provide instructions for reproduction.

PR checklist

Before submitting this PR, please make sure:

References:

Please list relevant documentation (e.g. tech specs, articles, related work etc.) relevant to this change, and note if the documentation has been updated.

This PR is dependent on the following CAIP's and will require guidance from the Sui team.

ben-passion-xyz commented 1 year ago

Hi, is there any progress with Sui support? I'm considering using composedb with Sui chain. I may not be familiar with signing algorithms, but is there any further information I can learn or help with?