Skip to content

Commit

Permalink
Add Solana values
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Dec 19, 2024
1 parent dff78de commit 9dbe5bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/multichain/src/scope/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const CaipReferenceRegexes: Record<NonWalletKnownCaipNamespace, RegExp> =
{
eip155: /^(0|[1-9][0-9]*)$/u,
bip122: /.*/u,
solana: /.*/u,
};

/**
Expand All @@ -42,6 +43,7 @@ const Eip155Methods = MetaMaskOpenRPCDocument.methods
export const KnownRpcMethods: Record<NonWalletKnownCaipNamespace, string[]> = {
eip155: Eip155Methods,
bip122: [],
solana: [],
};

/**
Expand All @@ -53,6 +55,7 @@ export const KnownWalletNamespaceRpcMethods: Record<
> = {
eip155: WalletEip155Methods,
bip122: [],
solana: [],
};

/**
Expand All @@ -62,4 +65,5 @@ export const KnownNotifications: Record<NonWalletKnownCaipNamespace, string[]> =
{
eip155: ['eth_subscription'],
bip122: [],
solana: [],
};

0 comments on commit 9dbe5bd

Please sign in to comment.