Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit cb808e4

Browse files
committed
Update documentation for entry functions
1 parent 7a7095e commit cb808e4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/nextra/pages/en/build/sdks/wallet-adapter/browser-extension-wallets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For an example of how to implement the Wallet Adapter plugin (and how to registe
2222
</Callout>
2323

2424
<Steps>
25-
### Copy the [`wallet-standard` example](https://github.com/aptos-labs/wallet-standard/blob/main/example/wallet.ts) into your browser extension codebase.
25+
### Copy the [`wallet-standard` example](https://github.com/aptos-labs/wallet-standard/blob/main/example/basic/wallet.ts) into your browser extension codebase.
2626
### Follow the instructions in that example to make it use your wallet to execute the AIP-62 functions.
2727

2828
<Callout type="info">

apps/nextra/pages/en/build/sdks/wallet-adapter/wallets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For an example of how to implement the Wallet Adapter plugin, see the [Wallet Ad
2626

2727
### Create a new typescript repository.
2828

29-
### Copy the [`wallet-standard` example](https://github.com/aptos-labs/wallet-standard/blob/main/example/wallet.ts) into that new repo.
29+
### Copy the [`wallet-standard` example](https://github.com/aptos-labs/wallet-standard/blob/main/example/basic/wallet.ts) into that new repo.
3030

3131
### Follow the instructions in that example to make it use your wallet to execute the AIP-62 functions.
3232

apps/nextra/pages/en/build/smart-contracts/book/functions.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,9 @@ script {
232232
}
233233
```
234234

235-
Entry functions can take primitive types, String, and vector arguments but cannot take Structs (e.g. Option). They also
236-
must not have any return values.
235+
Entry functions can accept parameters that are: primitive types, reference to a `signer`, vectors (where the element type is itself acceptable),
236+
and certain standard library types such as `String`, `Object`, and `Option`.
237+
Entry functions must not have any return values.
237238

238239
### Name
239240

0 commit comments

Comments
 (0)