12459c4a2a
The wormhole sdk is a new go module in the sdk/ directory. This initially contains the *_consts.go files from the common package in the top-level sdk package and the entire vaa package as a sub-package. For go reasons this needs to be in the sdk directory itself (rather than a sdk/go subdir). To prevent the go tooling from looking into the other non-go subdirs, add an empty go.mod file in each one. See golang issue 42965 for more details on why we can't have nice things (I'm deliberately not linking to stop github from spamming that issue). |
||
---|---|---|
.. | ||
scripts | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
go.mod | ||
package-lock.json | ||
package.json | ||
tsconfig-cjs.json | ||
tsconfig.json |
README.md
Wormhole SDK WebAssembly
WebAssembly libraries for interacting with Wormhole
Note: This code is generated by
wasm-pack
for both--target bundler
and--target nodejs
By default, this loads the bundler wasm libraries. Use setDefaultWasm("node")
if you need the node ones.