Go to file
Csongor Kiss eaa5107b33
sdk/js: aptos (#1736)
* sdk/js: aptos

* sdk/aptos: change api interface to be more flexible

sdk/aptos: add attestToken

sdk/aptos: added createdWrapped

sdk/aptos: add getForeignAsset

sdk/aptos: stricter sanity check for fully qualified type

sdk/aptos: ensure addresses are left padded

sdk/aptos: check if asset exists in getForeignAsset

sdk/aptos: stricter sanity check - hex prefix can't be capital

sdk/aptos: add updatewrapped

sdk/aptos: update readme with token attestation example

sdk/aptos: added transfer

sdk/aptos: add getIsTransferCompleted

sdk/aptos: add isWrappedAsset and getOriginalAsset

sdk/aptos: add redeem

sdk/aptos: make init tokenbridge entry func

* sdk/aptos: separated signing/submitting txs from creating raw txs

* clients/js: hash aptos fully qualified type to get address

* sdk/aptos: return payload from api instead of rawtx

* sdk/aptos: derive token info from vaa

* sdk/aptos: fix getAssetFullyQualifiedType for native asset

* sdk/aptos: add min gas price

* sdk/aptos: bump aptos version

* sdk/aptos: dont require 0x in front of addresses

* sdk/aptos: progress on e2e tests

* sdk/aptos: upgrade resource address derivation

This was changed recently
25696fd266/aptos-move/framework/aptos-framework/sources/account.move (L90-L95)

* sdk/js: fix getForeignAssetAptos

* sdk/js: update testnet aptos address

* sdk/js: update aptos entry functions

* sdk/aptos: fix parsesequencefromlog

* sdk/aptos: throw errors instead of string literal

* sdk/aptos: update testnet/mainnet addresses

* sdk/aptos: fix  completeTransfer and getOriginalAsset

* sdk/aptos: update transferTokens to take in type and remove wormholeFee param

* sdk/aptos: add typeToExternalAddress utility

* sdk/js: update parseSequenceFromLogAptos

* sdk/js: test version bump again

* sdk/aptos: make transfer param type consistent

* sdk/aptos: test transfer to another chain test done

* sdk/aptos: use completeTransferAndRegister

* sdk/aptos: allow tryNativeToHexString to take in account addresses

* sdk/aptos: finish e2e tests

* sdk/aptos: test all apis

* sdk/aptos: add registerCoin utility

* sdk/js: utility to submit script bytecode to chain

* sdk/aptos: update test to be idempotent

* sdk/aptos: stricter check on aptos type

* clients/js: remove unused imports from rebase

* sdk/aptos: change node and faucet urls in ci

Co-authored-by: aki <akshath@live.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-10-24 18:12:02 -04:00
.github rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
.run Commit .run IntelliJ shortcuts to repo 2020-11-23 17:21:41 +01:00
algorand coinspect_tests: adjust comments 2022-10-19 06:38:19 -05:00
aptos js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
clients sdk/js: aptos (#1736) 2022-10-24 18:12:02 -04:00
cosmwasm js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
dashboards add Prometheus + Grafana for Guardian metrics 2022-08-04 16:03:56 -04:00
devnet aptos: unify deployment script for all networks 2022-10-17 16:39:34 +01:00
docs docs: governor update (#1524) 2022-09-12 21:28:20 -04:00
e2e Add experimental e2e browser fixture 2021-12-13 15:38:17 +01:00
ethereum Script changes for acala upgrade (#1726) 2022-10-21 13:52:21 -05:00
event_database cloud_functions: Performance enhancements to handle increased message volume (#1688) 2022-10-07 09:33:10 -05:00
lp_ui js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
near js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
node rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
proto node: add xpla to protobuf 2022-10-12 14:23:57 -04:00
relayer/spy_relayer js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
scripts rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
sdk sdk/js: aptos (#1736) 2022-10-24 18:12:02 -04:00
solana tilt: register aptos on other chains 2022-10-15 15:17:36 +01:00
spydk/js certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
terra js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
testing js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
third_party Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
tilt_modules Devnet arguments for BigTable connection. 2021-08-05 12:53:56 +00:00
tools js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
whitepapers Update title 2022-10-13 09:01:40 -05:00
wormchain rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
.dockerignore pyth2wormhole: build + deploy program into local devnet 2021-09-09 14:39:31 +02:00
.gitignore aptos: dockerfile + scripts + README 2022-10-14 12:42:44 -05:00
.spr.yml certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
CONTRIBUTING.md readme: Add commit conventions 2022-09-08 13:30:42 -04:00
DEVELOP.md certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
Dockerfile.client certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
Dockerfile.const CI: move num_guardians docker ARG down 2022-10-17 16:39:34 +01:00
Dockerfile.lint Better lint and formatting (#1263) 2022-06-21 12:18:16 -07:00
Dockerfile.node docker: fix guardiand build action 2022-10-13 07:14:33 -04:00
Dockerfile.proto sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
Dockerfile.wormchain rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
LICENSE staging/algorand: apply global Apache 2 license 2022-02-05 09:30:28 -05:00
Makefile guardiand version is always development 2022-05-02 17:52:49 -04:00
Makefile.help Add scripts and readme to deploy and verify terra contracts 2022-04-05 17:42:07 +02:00
README.md Add security to readme 2022-06-29 10:25:00 -04:00
SECURITY.md SECURITY.md: Add social media monitoring and incident response sections 2022-10-15 06:31:55 -04:00
Tiltfile rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
buf.gen.web.yaml sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
buf.gen.yaml node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00
buf.lock Update buf.lock 2022-09-07 10:34:18 -04:00
buf.yaml certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi-celo.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00

README.md

Banner

This monorepo contains the reference implementation of the Wormhole protocol.

To learn about how to use and build on Wormhole read the Docs or take a look at the xApp Book.


See Live Contracts for current testnet and mainnet deployments of the Wormhole smart contracts.

See DEVELOP.md for instructions on how to set up a local devnet, CONTRIBUTING.md for instructions on how to contribute to this project, and SECURITY.md for more information about our security audits and bug bounty program.

See docs/operations.md for node operator instructions.

This software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Or plainly spoken - this is a very complex piece of software which targets a bleeding-edge, experimental smart contract runtime. Mistakes happen, and no matter how hard you try and whether you pay someone to audit it, it may eat your tokens, set your printer on fire or startle your cat. Cryptocurrencies are a high-risk investment, no matter how fancy.