Skip to content

Add cross chain accounts example - #3

Merged
0xmaayan merged 6 commits into
mainfrom
cross_chain_accounts
Sep 30, 2025
Merged

0xmaayan merged 6 commits into
mainfrom
cross_chain_accounts

Conversation

@0xmaayan

Copy link
Copy Markdown
Contributor

No description provided.

@hariria hariria left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failing, need to run pnpm update-table

@0xmaayan
0xmaayan force-pushed the cross_chain_accounts branch from fbdc30f to c7e61af Compare September 25, 2025 17:28

@hariria hariria left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, but two things:

  1. Can we get a screen recording in the PR description for what it looks like?
  2. Should we deploy to Vercel for people to see what the demo looks like?

Comment thread apps/web/app/layout.tsx
Comment thread apps/cross-chain-accounts/components/WalletProvider.tsx Outdated
@@ -0,0 +1,116 @@
import {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. We should probably make another library / npm package for hooks like this in the shelby repo.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo, we should provide a complete upload function in the sdk that takes care of

  • encoding
  • registering on chain
  • uploading to rpc

we can easily hide those steps from the devs

@@ -0,0 +1,44 @@
import { useWallet } from "@aptos-labs/wallet-adapter-react";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with this

@0xmaayan

Copy link
Copy Markdown
Contributor Author

LGTM overall, but two things:

  1. Can we get a screen recording in the PR description for what it looks like?

Sure, RPC is currently down so waiting for it and then will record a video

  1. Should we deploy to Vercel for people to see what the demo looks like?

Sure we can, do we have a Shelby Vercel account?

@0xmaayan
0xmaayan force-pushed the cross_chain_accounts branch from 343670b to 0ba0b47 Compare September 25, 2025 19:58
@0xmaayan
0xmaayan force-pushed the cross_chain_accounts branch from 0ba0b47 to 10fc9f3 Compare September 25, 2025 20:00

@hariria hariria left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vercel deployment is a bit annoying.

  1. You have to use the vercel CLI to publish it (https://vercel.com/docs/cli).
  2. Then copy the actions i have here: https://github.com/shelby/shelby/tree/main/.github/actions
  3. Then create a workflow for publishing, see https://github.com/shelby/shelby/blob/main/.github/workflows/ts-preview-creator-studio.yml for an example

@0xmaayan
0xmaayan force-pushed the cross_chain_accounts branch from b4239c5 to e75793f Compare September 30, 2025 16:59
@0xmaayan
0xmaayan merged commit 6eca0dd into main Sep 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants