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

Fix: typos #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions apps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public fun register_ua<UA>(account: &signer): UaCapability<UA>
```

The `UA` type is an identifier of your application. You can use any type as `UA`, e.g. `0x1::MyApp::MyApp` as UA.
Note: only one UA is allowed per address. That means there won't two `UA` types share the same address.
Note: only one UA is allowed per address. That means there won't be two `UA` types sharing the same address.

When calling `register_ua()`, you will get a `UaCapability<UA>` as return. It is the resources for authenticating any LayerZero functions, such as sending messages and setting configurations.

Expand Down Expand Up @@ -87,7 +87,7 @@ public fun lz_receive_types(src_chain_id: u64, src_address: vector<u8>, payload:

### Blocking Mode

Layerzero is by default BLOCKING, which means if the message payload fails in the lz_receive function,
LayerZero is by default BLOCKING, which means if the message payload fails in the lz_receive function,
your UA will be blocked and cannot receive next messages from that path until the failed message is received successfully.
For that case, you may have to drop the message or store it and retry later. We provide [LzApp Modules](#LzApp-Modules) to help you handle it.

Expand Down Expand Up @@ -133,4 +133,4 @@ It is very simple to use it by initializing it by calling `fun init<UA>(account:

## Examples:
- [OmniCounter](counter/sources/counter.move)
- [TokenBridge](bridge/sources/bridge.move)
- [TokenBridge](bridge/sources/bridge.move)