Skip to content
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

feat: allow users to transfer money to a .stark name #437

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into pr/437
stanleyyconsensys committed Dec 4, 2024
commit 737b82886dba4676de885dedd1f7ab10ae0b778e
4 changes: 3 additions & 1 deletion packages/starknet-snap/src/index.tsx
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ import type {
DeclareContractParams,
WatchAssetParams,
GetAddrFromStarkNameParams,
GetTransactionStatusParams,
} from './rpcs';
import {
displayPrivateKey,
@@ -50,6 +51,7 @@ import {
getDeploymentData,
watchAsset,
getAddrFromStarkName,
getTransactionStatus,
} from './rpcs';
import { signDeployAccountTransaction } from './signDeployAccountTransaction';
import type {
@@ -269,7 +271,7 @@ export const onRpcRequest: OnRpcRequestHandler = async ({
apiParams.requestParams as unknown as GetDeploymentDataParams,
);

case 'starkNet_getAddrFromStarkName':
case RpcMethod.GetAddressByStarkName:
return await getAddrFromStarkName.execute(
apiParams.requestParams as unknown as GetAddrFromStarkNameParams,
);
1 change: 1 addition & 0 deletions packages/starknet-snap/src/rpcs/index.ts
Original file line number Diff line number Diff line change
@@ -10,3 +10,4 @@ export * from './switch-network';
export * from './get-deployment-data';
export * from './watch-asset';
export * from './get-addr-from-starkname';
export * from './get-transaction-status';
You are viewing a condensed version of this merge commit. You can view the full changes here.