{"_rev":"4-ba1f9b1ea602dee46ebc0655b1b4ca5e","time":{"created":"2023-10-19T22:25:29.592Z","0.0.1":"2023-10-19T20:29:19.928Z","modified":"2023-10-19T22:25:30.418Z","0.0.2":"2023-10-19T20:35:27.813Z","0.0.3":"2023-10-19T22:25:30.143Z"},"_id":"@arcade2earn.dev/wormhole-connect-sdk","name":"@arcade2earn.dev/wormhole-connect-sdk","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@arcade2earn.dev/wormhole-connect-sdk","version":"0.0.3","author":{"name":"Manifest Futures"},"license":"ISC","main":"./dist/cjs/src/index.js","exports":{".":{"import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js","types":"./dist/cjs/index.d.ts"}},"sideEffects":false,"dependencies":{"@certusone/wormhole-sdk":"^0.10.3","@cosmjs/cosmwasm-stargate":"^0.31.0","@cosmjs/proto-signing":"^0.31.0","@cosmjs/stargate":"^0.31.0","@cosmjs/tendermint-rpc":"^0.31.0","@mysten/sui.js":"^0.32.2","@nomad-xyz/multi-provider":"^1.1.0","@solana/spl-token":"^0.3.7","@solana/web3.js":"^1.73.0","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","algosdk":"^1.15.0","aptos":"1.5.0","axios":"^0.27.2","bech32":"^2.0.0","bn.js":"^5.2.1","buffer-layout":"^1.2.2","cosmjs-types":"^0.5.2","elliptic":"^6.5.4","eslint-config-prettier":"^8.6.0","js-sha3":"^0.8.0","near-api-js":"^1.1.0"},"devDependencies":{"@types/bs58":"^4.0.1","@types/elliptic":"^6.4.14","@types/jest":"^27.5.2","@types/node":"^16.18.11","@types/node-fetch":"^2.6.2","eslint":"^8.31.0","ethers":"^5.7.2","typedoc":"^0.24.8","typescript":"^4.9.4"},"scripts":{"lint":"npm run prettier && eslint --fix ./src","lint:ci":"prettier -c ./src && eslint --max-warnings=0 ./src","prettier":"prettier --write ./src","build":"tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json","check":"tsc --noEmit","doc":"typedoc src/index.ts --out ../docs"},"eslintConfig":{"extends":["react-app","react-app/jest"],"rules":{"eqeqeq":"off","no-empty-pattern":"off","@typescript-eslint/no-useless-constructor":"off"}},"repository":{"type":"git","url":"git+https://github.com/wormhole-foundation/wormhole-connect.git"},"bugs":{"url":"https://github.com/wormhole-foundation/wormhole-connect/issues"},"homepage":"https://github.com/wormhole-foundation/wormhole-connect#readme","description":"Wormhole Connect SDK\r --------------------","_id":"@arcade2earn.dev/wormhole-connect-sdk@0.0.3","gitHead":"d74f07955c9ac96088b968b940b666eeb29e21b6","types":"./dist/cjs/src/index.d.ts","_nodeVersion":"18.18.1","_npmVersion":"10.2.0","dist":{"integrity":"sha512-exUJA0jvIRHOI26tBR2qZKYIfEPRmaAyGLu4gwiRNwoczLBfa32qhxDZJlZqkICFDQ7WlflMPmfcAA4pwF6oWA==","shasum":"d744b2281d00c2d0794c8eb796d6559ca2ad2d26","tarball":"https://registry.npmjs.org/@arcade2earn.dev/wormhole-connect-sdk/-/wormhole-connect-sdk-0.0.3.tgz","fileCount":1496,"unpackedSize":6955455,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcvO/dUN/Q027Fjmt/2t3r4KPrx6iPqeONNXr77nhUNQIhAOjoGajq8DkykAZ7uliHq0mrJ3Vr0RcwUBCSt5mr/u2X"}]},"_npmUser":{"name":"arcade2earn.dev","email":"andrew.n@arcade2earn.io"},"directories":{},"maintainers":[{"name":"arcade2earn.dev","email":"andrew.n@arcade2earn.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-connect-sdk_0.0.3_1697754329741_0.8757076201044096"},"_hasShrinkwrap":false}},"maintainers":[{"name":"arcade2earn.dev","email":"andrew.n@arcade2earn.io"}],"description":"Wormhole Connect SDK\r --------------------","homepage":"https://github.com/wormhole-foundation/wormhole-connect#readme","repository":{"type":"git","url":"git+https://github.com/wormhole-foundation/wormhole-connect.git"},"author":{"name":"Manifest Futures"},"bugs":{"url":"https://github.com/wormhole-foundation/wormhole-connect/issues"},"license":"ISC","readme":"Wormhole Connect SDK\r\n--------------------\r\n\r\n\r\nAn SDK that wraps the core Wormhole SDK and provides a convenient API to interact with the Wormhole Token Bridge protocol.\r\n\r\n\r\nHere is an example showing how to send a token across chains using this SDK: \r\n```ts\r\n const context = new WormholeContext('MAINNET');\r\n \r\n // interact easily with any chain!\r\n // supports EVM, Solana, Terra, etc\r\n const tokenId = {\r\n   chain: 'ethereum',\r\n   address: '0x123...',\r\n }\r\n\r\n const receipt = context.send(\r\n   tokenId,\r\n   '10', // amount\r\n   'ethereum', // sending chain\r\n   '0x789...', // sender address\r\n   'moonbeam', // destination chain\r\n   '0x789...', // recipient address on destination chain\r\n )\r\n```","readmeFilename":"README.md"}