@layerzerolabs/protocol-stellar-v2 0.2.54 → 0.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +223 -69
- package/.turbo/turbo-lint.log +85 -157
- package/.turbo/turbo-test.log +2068 -1860
- package/docs/oft-guide.md +15 -0
- package/package.json +4 -4
- package/sdk/.turbo/turbo-test.log +255 -253
- package/sdk/package.json +1 -1
package/docs/oft-guide.md
CHANGED
|
@@ -11,6 +11,21 @@ An OFT enables cross-chain token transfers through LayerZero. The framework prov
|
|
|
11
11
|
- **Token types**: MintBurn and LockUnlock strategies
|
|
12
12
|
- **Extensions**: Pausable, fee collection, rate limiting
|
|
13
13
|
|
|
14
|
+
### Classic Assets Receiving Requirements
|
|
15
|
+
|
|
16
|
+
#### G-Address (EOA)
|
|
17
|
+
|
|
18
|
+
G-address recipients must meet two prerequisites before they can receive classic assets:
|
|
19
|
+
|
|
20
|
+
1. **Account activation**: The account must hold a minimum of 1 XLM to exist on the Stellar network.
|
|
21
|
+
2. **Trustline**: The account must have an explicit trustline for the classic asset being received.
|
|
22
|
+
|
|
23
|
+
If `lz_receive` fails due to unmet prerequisites, delivery can be retried once the recipient account is activated and the trustline is established.
|
|
24
|
+
|
|
25
|
+
#### C-Address (Smart Contract)
|
|
26
|
+
|
|
27
|
+
C-address recipients are not subject to these restrictions. As long as the contract address exists on-chain, it can receive assets directly.
|
|
28
|
+
|
|
14
29
|
## Architecture
|
|
15
30
|
|
|
16
31
|
```
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/protocol-stellar-v2",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.56",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "LZBL-1.2",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@types/node": "^22.18.6",
|
|
8
8
|
"tsx": "^4.19.3",
|
|
9
9
|
"typescript": "^5.8.2",
|
|
10
|
-
"@layerzerolabs/common-node-utils": "0.2.
|
|
11
|
-
"@layerzerolabs/
|
|
12
|
-
"@layerzerolabs/
|
|
10
|
+
"@layerzerolabs/common-node-utils": "0.2.56",
|
|
11
|
+
"@layerzerolabs/stellar-ts-bindings-gen": "0.2.56",
|
|
12
|
+
"@layerzerolabs/vm-tooling-stellar": "0.2.56"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "restricted",
|