@layerzerolabs/protocol-stellar-v2 0.2.54 → 0.2.55

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/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.54",
3
+ "version": "0.2.55",
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.54",
11
- "@layerzerolabs/vm-tooling-stellar": "0.2.54",
12
- "@layerzerolabs/stellar-ts-bindings-gen": "0.2.54"
10
+ "@layerzerolabs/common-node-utils": "0.2.55",
11
+ "@layerzerolabs/vm-tooling-stellar": "0.2.55",
12
+ "@layerzerolabs/stellar-ts-bindings-gen": "0.2.55"
13
13
  },
14
14
  "publishConfig": {
15
15
  "access": "restricted",
package/sdk/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-v2-stellar-sdk",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "private": false,
5
5
  "description": "TypeScript SDK for endpoint-v2 Stellar contract",
6
6
  "repository": {