Skip to content

Conversation

@jayantk
Copy link
Contributor

@jayantk jayantk commented Jan 9, 2024

Generate the ABIs for the contracts and put them in the solidity SDK. The JS sdk will depend on the solidity SDK to get access to these ABIs

I've set this up exactly the same as how we've done it for price feeds. I slightly generalized the CI check for ABIs so that it applies to both sdks.

@vercel
Copy link

vercel bot commented Jan 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Jan 9, 2024 7:54pm
xc-admin-frontend ⬜️ Ignored (Inspect) Jan 9, 2024 7:54pm

@@ -0,0 +1,54 @@
const fs = require("fs");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copy/pasted this from the other solidity SDK. It's somewhat unfortunate that this code is duplicated, but we don't have a good place for shared javascript and I don't want to solve that problem right now.

@jayantk jayantk merged commit 7cf7420 into main Jan 10, 2024
@jayantk jayantk deleted the entropy_sdk_js branch January 10, 2024 18:57
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.

3 participants