Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions contracts/stellar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ pub fn batch_send(
```

The `send` function:

1. Transfers `amount` of `token` from `caller` to `stealth_address`
2. Calls the announcer contract to emit an event

Expand Down Expand Up @@ -200,6 +201,18 @@ const resolved = await namesContract.call("resolve", "alice");

---

{/* stellar-reference:start */}

<!-- This section is generated by scripts/generate-stellar-reference.ts. Do not edit by hand. -->

## Generated contract reference

Set `STELLAR_BINDINGS_DIR` to the generated TypeScript bindings directory, then run `npm run generate:stellar-reference` to refresh this section.

{/* stellar-reference:end */}

---

## Deployment

### Build
Expand Down
19 changes: 4 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
{
"name": "@wraith-protocol/docs",
"private": true,
"type": "module",
"scripts": {
"check:snippets": "tsx scripts/check-snippets.ts",
"check:stellar-testnet": "tsx scripts/check-stellar-testnet-snippets.ts",
"test": "npm run check:snippets"
},
"dependencies": {
"@solana/web3.js": "^1.95.0",
"@stellar/stellar-sdk": "^13.1.0",
"@wraith-protocol/sdk": "^1.4.5"
},
"devDependencies": {
"@types/node": "^22.10.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
"generate:stellar-reference": "node scripts/generate-stellar-reference.ts",
"check:stellar-reference": "node scripts/generate-stellar-reference.ts --check --allow-missing",
"mint:validate": "mint validate",
"mint:broken-links": "mint broken-links"
}
}
Loading