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

Add Wormhole SDK Page #9

Merged
merged 76 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
9a56529
initial setup
themacexpert Aug 2, 2024
b0a3717
grammarly overhaul
themacexpert Aug 2, 2024
e87feec
prettify all code snippets
themacexpert Aug 2, 2024
a0f1336
in progress
themacexpert Aug 2, 2024
0697e78
additions
themacexpert Aug 2, 2024
fb1e5a6
revisions
themacexpert Aug 3, 2024
12f9b02
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
7127c26
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
ae8d03d
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
ac2e106
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
d2cc237
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
28acee0
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
78ae923
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
759d1e1
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 6, 2024
127533e
change warning to admonition
themacexpert Aug 6, 2024
7faabcf
rev
themacexpert Aug 6, 2024
2aa20eb
rev'
themacexpert Aug 6, 2024
e1a8c30
revisions
themacexpert Aug 6, 2024
06d7ab9
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 8, 2024
c8b61f1
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 8, 2024
1aab200
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 8, 2024
9c85726
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 8, 2024
3e02832
import eco
themacexpert Aug 8, 2024
89a419a
run prettier
themacexpert Aug 8, 2024
e016e9b
Merge branch 'themacexpert/buildMulti' of https://github.com/wormhole…
themacexpert Aug 8, 2024
fefa23b
rev
themacexpert Aug 9, 2024
991f5fa
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
172c19b
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
ba6a051
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
fb2d561
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
c046980
Update .snippets/code/build/build-multichain-applications/wormhole-sd…
themacexpert Aug 9, 2024
49cd0d2
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
844f2f7
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
20eb5e3
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
3b030b7
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
0236cc5
rev
themacexpert Aug 9, 2024
8a34a4f
Merge branch 'themacexpert/buildMulti' of https://github.com/wormhole…
themacexpert Aug 9, 2024
dc2f5ee
rev
themacexpert Aug 9, 2024
17ddf5b
rev
themacexpert Aug 9, 2024
12f3ed2
rev
themacexpert Aug 9, 2024
13452e0
rev
themacexpert Aug 9, 2024
eadd665
rev
themacexpert Aug 9, 2024
bb1eb4d
rev
themacexpert Aug 9, 2024
ac5b8ab
rev
themacexpert Aug 9, 2024
be232ca
rev
themacexpert Aug 9, 2024
99c76dc
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
baf4b3a
Update build/build-multichain-applications/wormhole-sdk.md
themacexpert Aug 9, 2024
38247e0
rev
themacexpert Aug 9, 2024
ea35466
Merge branch 'themacexpert/buildMulti' of https://github.com/wormhole…
themacexpert Aug 9, 2024
22460ba
rev
themacexpert Aug 9, 2024
c1578d7
rev
themacexpert Aug 9, 2024
72735bc
rev
themacexpert Aug 9, 2024
f0c3b0d
rev
themacexpert Aug 10, 2024
203d23d
rev
themacexpert Aug 10, 2024
ca4f42d
rev
themacexpert Aug 10, 2024
07aa1cd
Update .snippets/code/build/build-apps/wormhole-sdk/cctp.ts
themacexpert Aug 13, 2024
ec1fe0b
comment capitalization
themacexpert Aug 13, 2024
d7834b2
rev
themacexpert Aug 13, 2024
3b132dd
Update .snippets/code/build/build-apps/wormhole-sdk/cctp.ts
themacexpert Aug 13, 2024
0d99dce
Update build/build-apps/wormhole-sdk.md
themacexpert Aug 13, 2024
cba9d1a
rev
themacexpert Aug 13, 2024
7d59712
Update build/build-apps/wormhole-sdk.md
themacexpert Aug 13, 2024
9e95244
rev
themacexpert Aug 13, 2024
787ed06
rev
themacexpert Aug 13, 2024
ecc5aae
revise
themacexpert Aug 13, 2024
4939bf2
revise
themacexpert Aug 13, 2024
58d2178
rev
themacexpert Aug 13, 2024
dc972ee
rev
themacexpert Aug 13, 2024
66551bb
revise
themacexpert Aug 13, 2024
bc93e07
revise
themacexpert Aug 13, 2024
63fab26
revise
themacexpert Aug 13, 2024
7feb80e
revise
themacexpert Aug 13, 2024
f8c9bbc
Update build/build-apps/wormhole-sdk.md
themacexpert Aug 19, 2024
bbac961
Update build/build-apps/wormhole-sdk.md
themacexpert Aug 19, 2024
a1a2ab7
Update build/build-apps/wormhole-sdk.md
themacexpert Aug 19, 2024
d423942
delete unneeded snippet
themacexpert Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
import eco
themacexpert committed Aug 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 3e02832bd4a6e53082f5c403fb3533fef11a4fc9
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import algorand from "@wormhole-foundation/sdk/algorand";
import aptos from "@wormhole-foundation/sdk/aptos";
import cosmwasm from "@wormhole-foundation/sdk/cosmwasm";
import evm from "@wormhole-foundation/sdk/evm";
import solana from "@wormhole-foundation/sdk/solana";
import sui from "@wormhole-foundation/sdk/sui";
7 changes: 7 additions & 0 deletions build/build-multichain-applications/wormhole-sdk.md
Original file line number Diff line number Diff line change
@@ -54,6 +54,13 @@ Getting started is simple; just import Wormhole and the [Platform](#platforms) m
import { wormhole } from '@wormhole-foundation/sdk';
```

Don't forget to import each of the ecosystem platforms that you wish to support:

```ts
--8<-- 'code/build/build-multichain-applications/wormhole-sdk/import-platforms.ts'
```


Then, pass the [Platform](#platforms) modules to the Wormhole constructor to make them available for use:

```ts