Add code examples link to AI discovery files

- Add psf-js-examples repository link to llms.txt
- Add externalDocs reference to openapi.json
- Make code examples prominent for AI agents and developers

The psf-js-examples repo contains working JavaScript code for:
- Querying balances and UTXOs
- Broadcasting transactions
- Working with SLP tokens
- Handling x402 payments
This commit is contained in:
Ben Troutner
2026-03-23 12:04:26 -07:00
parent ed02fa4027
commit 69b8471456
2 changed files with 16 additions and 0 deletions
+12
View File
@@ -68,7 +68,19 @@ For more information on x402:
Full API specification available at: `/openapi.json` Full API specification available at: `/openapi.json`
## Code Examples
Complete working examples for interacting with this API:
- **JavaScript Examples:** https://github.com/Permissionless-Software-Foundation/psf-js-examples
Includes examples for:
- Querying balances and UTXOs
- Broadcasting transactions
- Working with SLP tokens
- Handling x402 payments
## Support ## Support
- GitHub: https://github.com/Permissionless-Software-Foundation/psf-bch-api - GitHub: https://github.com/Permissionless-Software-Foundation/psf-bch-api
- FullStack.cash: https://fullstack.cash - FullStack.cash: https://fullstack.cash
- Code Examples: https://github.com/Permissionless-Software-Foundation/psf-js-examples
+4
View File
@@ -7,6 +7,10 @@
"contact": { "contact": {
"name": "FullStack.cash", "name": "FullStack.cash",
"url": "https://fullstack.cash" "url": "https://fullstack.cash"
},
"externalDocs": {
"description": "JavaScript Code Examples",
"url": "https://github.com/Permissionless-Software-Foundation/psf-js-examples"
} }
}, },
"servers": [ "servers": [