phessophissy
4c7e1bd016
docs: fix code example issues in README
...
- Add missing AMMRoute import
- Move stxAddress declaration before its usage
- Add missing 'amount' variable declaration
- Fix 'sdk' -> 'alex' variable name consistency
- Fix undefined x1, x2 variables in route example
- Use allRoutes[0] as example route instead
2025-12-13 16:28:04 +08:00
ignacio.pena@coinfabrik.com
cf4d5e4ace
fixed link to api doc
2024-09-12 07:51:33 +08:00
Ignacio Peña
075372b11c
Base PR to include ts-doc in sdk library sources ( #15 )
...
* add typedoc comments
* documentation.md was removed because typedoc is now used
* running typedoc
* removed docs
* added docs into gitignore
* irrelevant subtitle removed
2024-09-07 09:47:16 +08:00
ignaciopenia
38e997e8c6
Docs/refactor readme ( #14 )
...
* docs: update docs with new functions
* docs: add types to documentation.md
2024-07-23 15:33:07 +08:00
david weil
fc23587ce3
Tests/sdk features stage 2 ( #11 )
...
* tests: enhance tests for existing functions
* tests: add test cases for existing functions
* tests: add test cases for three new functions
* tests: Introduce mock for getFeeRate function
* tests: implement workaround for Jest BigInt assertion issue
* tests: wip test cases getRoute, getAmountTo, runSwap
* tests: mocked functions runSwap, getLatestPrices
* temp commit
* tests: mocked functions getBalances, fetchSwappableCurrency
* tests: add additional tests for error scenarios
* tests: add more coverage to runSwap SDK method
* temp commit
* temp commit
* sync merge
* code linted + documentation update
* tests: SDK getWayPoints method
* tests: add lint fix command
* tests: add getFeeRate with custom route
* test: add external error tests
* fix: minor changes
* conflicts resolved
---------
Co-authored-by: ignacio.pena@coinfabrik.com <ignacio.pena@coinfabrik.com >
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
Co-authored-by: david weil <david.weil@endlesstruction.com.ar >
2024-07-15 21:25:14 +08:00
david weil
de391d1ddd
Tests/sdk features: coverage. Stage 1 ( #9 )
...
* tests: enhance tests for existing functions
* tests: add test cases for existing functions
* tests: add test cases for three new functions
* merge from alex changes
* fix: error with variable name
* fix: removed unused variable
* fix: testing of getRoute updated to its signature
---------
Co-authored-by: ignacio.pena@coinfabrik.com <ignacio.pena@coinfabrik.com >
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
Co-authored-by: david weil <david.weil@endlesstruction.com.ar >
2024-07-11 17:56:32 +08:00
Kyle Fang
8489554ffc
feat: add support for custom route
...
Also fix typo of router -> route
2024-07-04 15:24:06 +08:00
david weil
aacc31e8e8
refactor(README): Function especification moved into documentation.md file
2024-06-28 17:32:24 -03:00
david weil
953afaa5b0
Merge branch 'refs/heads/main' into docs/refactor-readme
...
# Conflicts:
# README.md
2024-06-28 17:21:00 -03:00
Kyle Fang
a0eaea9e0e
feat: update README.md
2024-06-28 15:40:09 +08:00
Kyle Fang
14f6ffad6b
feat: update README.md and add ALEX currency
2024-06-28 15:35:51 +08:00
david weil
cf3a02bc84
format updates
2024-06-27 17:14:39 -03:00
ignacio.pena@coinfabrik.com
28e9974551
added exceptions
2024-06-27 16:52:41 -03:00
ignacio.pena@coinfabrik.com
5351c32186
Update README with three additional SDK functions
2024-06-27 15:10:46 -03:00
Kyle Fang
716516508e
feat: upgrade to alex amm pool v2-1
2024-06-16 15:39:27 +00:00
Kyle Fang
667825a7d2
feat: update README.md
2023-09-27 09:50:47 +08:00
Kyle Fang
0a283f3448
fix: typo
2023-08-04 12:28:54 +08:00
Kyle Fang
f3becbfe2b
feat: add isSponsoredSwapEnabled
2023-08-04 12:28:08 +08:00
Kyle Fang
02d1c0e4a7
feat: add broadcastSponsoredTx
2023-08-03 16:45:47 +08:00
Kyle Fang
ad15b41761
feat: add getAddressFrom
2023-08-01 11:01:33 +08:00
Kyle Fang
fc430b7158
fix: doc
2023-07-12 17:09:49 +08:00
Kyle Fang
49fc80282d
feat: add function to check if tx is a swap from alex
2023-07-12 17:07:38 +08:00
Kyle Fang
09fc7a7305
fix: rename to get fee rate
2023-03-15 14:24:15 +08:00
Kyle Fang
556ce39bfb
feat: add example link
2023-03-15 14:15:53 +08:00
Kyle Fang
278e7d9fb7
chore: add README.md
2023-03-15 14:12:13 +08:00
Kyle Fang
f657c2ad53
chore: init
2023-03-09 09:12:54 +08:00