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(svm): add svm clients #828

Closed
wants to merge 12 commits into from
Closed

feat(svm): add svm clients #828

wants to merge 12 commits into from

Conversation

md0x
Copy link

@md0x md0x commented Jan 14, 2025

No description provided.

md0x and others added 7 commits January 14, 2025 12:55
Signed-off-by: Pablo Maldonado <[email protected]>
renderJavaScriptVisitor(path.join(clientsPath, "MulticallHandler"))
);

// codama = createFromRoot(rootNodeFromAnchor(MessageTransmitterIdl as AnchorIdl));
Copy link
Contributor

Choose a reason for hiding this comment

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

we will also need MessageTransmitter client to finalize CCTP messages. It would be better if we could get IDL from upstream, but last time I checked they were not, so we ended up fetching old anchor version IDL from on-chain and converting in our contracts repo. Need to check if this has changed since the latest CCTP upgrade.

package.json Outdated
"start": "yarn typechain && nodemon -e ts,tsx,json,js,jsx --watch ./src --ignore ./dist --exec 'yarn dev'",
"build": "yarn run clean && yarn typechain && yarn run build:cjs & yarn run build:esm & yarn run build:types; wait",
"dev": "yarn run build:cjs & yarn run build:esm & yarn run build:types; wait",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"generate-clients": "yarn ts-node ./scripts/generate-clients.ts",
Copy link
Contributor

@Reinis-FRP Reinis-FRP Jan 15, 2025

Choose a reason for hiding this comment

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

maybe better rename so its clear these are solana artefacts?

md0x added 4 commits January 15, 2025 09:48
Signed-off-by: Pablo Maldonado <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
@md0x md0x closed this Jan 16, 2025
@md0x md0x deleted the md0x/svm-codama branch January 16, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants