Open drewstone opened 2 years ago
@drewstone can you provide further direction here.
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 |
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 fromwebb.js
.We would then have to import these tools from these libraries for each of the repos that are using them: