export declare const WEB3AUTH_NETWORK: {
readonly MAINNET: "sapphire_mainnet";
readonly DEVNET: "sapphire_devnet";
};
This is inconsistent with our other SDKs and causes confusion. This was done earlier when sapphire was new in order to make sure people understand MPC only works with Sapphire networks. However it is quite well documented and the dashboard flow makes sure people make sapphire projects. In order to be consistent can we change it to:
export declare const WEB3AUTH_NETWORK: {
readonly SAPPHIRE_MAINNET: "sapphire_mainnet";
readonly SAPPHIRE_DEVNET: "sapphire_devnet";
};
A couple of minor changes that will help our MPC Core Kit Integration:
Can we expose
Point&secp256k1from MPC Core Kit directly instead of fetching it from@tkey/common-types? It feels like an unnecessary addition just for using deleteShare function.Currently the
WEB3AUTH_NETWORKobject is like thisThis is inconsistent with our other SDKs and causes confusion. This was done earlier when sapphire was new in order to make sure people understand MPC only works with Sapphire networks. However it is quite well documented and the dashboard flow makes sure people make sapphire projects. In order to be consistent can we change it to:
The deleteShare function currently has a lot of extra steps currently
Can we make the process of grabbing a particular share with share description easy? Can getting a point be shifting directly within the deleteFactor function of the SDK? I'm thinking of something like:
Additionally, can we have a
listFactorsfunction that grabs all the factors from share description and returns an object containing all the available shares?