Skip to content

Commit 51e0eab

Browse files
authored
Merge pull request #124 from OpenZeppelin/add-fee-abstraction-stellar
chore: Update stellar fee abstraction guide
2 parents bf323aa + 15391bb commit 51e0eab

File tree

4 files changed

+320
-18
lines changed

4 files changed

+320
-18
lines changed

content/relayer/1.3.x/guides/stellar-sponsored-transactions-guide.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Additional fee margin added to estimated fees to account for price fluctuations
101101

102102
Before users can pay fees in tokens, the relayer account must establish trustlines to those tokens. This is a one-time setup per token.
103103

104-
For a complete example of how to create trustlines, see the [Relayer SDK example](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayer/stellar/sponsored/create-trustline.ts).
104+
For a complete example of how to create trustlines, see the [Relayer SDK example](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored/createTrustline.ts).
105105

106106

107107
## Using the API
@@ -153,7 +153,7 @@ Or with operations:
153153
}
154154
```
155155

156-
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/sponsored).
156+
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored).
157157

158158
### Step 2: Build Sponsored Transaction
159159

@@ -203,7 +203,7 @@ Or with operations:
203203
}
204204
```
205205

206-
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/sponsored).
206+
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored).
207207

208208
### Step 3: Sign Transaction
209209

@@ -233,7 +233,7 @@ If the user's address is connected with another relayer configured in **relayer
233233

234234
You can also use any Stellar SDK or signing library to sign the transaction programmatically with the user's private key.
235235

236-
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/sponsored).
236+
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored).
237237

238238
### Step 4: Submit to Relayer
239239

@@ -270,7 +270,7 @@ Submit the signed transaction to the relayer. The relayer will:
270270
}
271271
```
272272

273-
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/sponsored).
273+
For complete code examples, see the [Relayer SDK examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored).
274274

275275
## Request/Response Formats
276276

content/relayer/1.3.x/stellar.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The build endpoint returns a prepared transaction that includes:
253253

254254
After receiving the prepared transaction, users must sign it and submit it through the standard transaction submission endpoint. The relayer will wrap it in a fee-bump transaction where the relayer pays the XLM fees, and the user pays the token fees.
255255

256-
For detailed examples and code samples, see the [SDK Stellar examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/sponsored).
256+
For detailed examples and code samples, see the [SDK Stellar examples](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/tree/main/examples/relayers/stellar/src/sponsored).
257257

258258
## API Reference
259259

0 commit comments

Comments
 (0)