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

[TASK] Move resource ID utilities w/ new chain ID type into API (webb.js/wasm-utils) #114

Open
drewstone opened this issue Jan 26, 2022 · 2 comments
Labels
p3 🔵 Issues should be resolved eventually

Comments

@drewstone
Copy link
Contributor

drewstone commented Jan 26, 2022

We should consider consolidating our utility functions into one place that can be used by both Typescript/Rust repos. One way we can do this is by adding functions to wasm-utils and re-exporting their TS versions from webb.js.

We would then have to import these tools from these libraries for each of the repos that are using them:

  • relayer
  • solidity / substrate
  • etc.
@dutterbutter dutterbutter added the p3 🔵 Issues should be resolved eventually label Jan 31, 2022
@dutterbutter
Copy link
Contributor

@drewstone can you provide further direction here.

@dutterbutter dutterbutter reopened this Feb 10, 2022
@drewstone drewstone changed the title [TASK] Create package containing resource ID utilities w/ new chain ID type [TASK] Move resource ID utilities w/ new chain ID type into API (webb.js/wasm-utils) Feb 10, 2022
@appcypher
Copy link
Contributor

appcypher commented Feb 15, 2022

Reusables Utils Projects
ResourceId type webb.js, relayer, webb-dapp, webb-rs, dkg-substrate, protocol-substrate
ProposalHeader type relayer, dkg-substrate
createResourceID, makeResourceId relayer, protocol-solidity, dkg-substrate
checkNativeAddress protocol-solidity, webb-dapp
getProposalData protocol-solidity
ChainIDType dkg-substrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 🔵 Issues should be resolved eventually
Projects
Status: Not Started 🕧
Status: In Progress
4 participants