-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modular Wallet Types #834
base: v2.2
Are you sure you want to change the base?
Modular Wallet Types #834
Conversation
|
||
// type WalletType = | ||
// | (typeof ACCOUNT_PLUGINS)[number]["type"] | ||
// | `smart:${(typeof ACCOUNT_PLUGINS)[number]["type"]}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleanup
const awsKmsArn = res.KeyMetadata.Arn; | ||
const { keyId } = splitAwsKmsArn(awsKmsArn); | ||
|
||
const account = await getAwsKmsAccount({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one day you should extract this into the sdk :D
type AwsKmsCredential = z.infer<typeof awsKmsCredentialSchema>; | ||
|
||
// AWS KMS Plugin Definition | ||
export const awsKmsPlugin = defineAccountPlugin({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was expecting to see a plugin for GCP and one for private key as well? is it just not implemented yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, need to extract the exiting code into this plugin format. Will also be adding one for circle
This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this PR will be closed in 3 days. |
PR-Codex overview
This PR focuses on migrating the project from
yarn
topnpm
for package management, alongside various code refactors and improvements in wallet handling and configuration management.Detailed summary
yarn
configuration files andyarn.lock
.pnpm
instead ofyarn
.decrypt
functions to enhance password handling.walletProviderCredentialsSchema
for better credential management.CircleCredential
schema for Circle wallet integration.