interbtc-api
interbtc-api copied to clipboard
interBTC TypeScript SDK
Instead of re-implementing (and testing) complex parachain logic, we should switch to using RPCs. - [x] [Escrow](https://github.com/interlay/interbtc-api/blob/master/src/parachain/escrow.ts) - `balanceAt` + `totalSupply` - [ ] [Issue](https://github.com/interlay/interbtc-api/blob/master/src/parachain/issue.ts) - `request` (find vaults for...
The external API can be confusing and noisy, we should refactor this to present a concise interface and minimize consumer error. For example the exported function [`issueAndRedeem`](https://github.com/interlay/interbtc-api/blob/770123d3ad615ebd25b22395ed0143d69967de62/src/utils/issueRedeem.ts#L227-L238) has a total...
Signed-off-by: Gregory Hill Includes test for this fix: https://github.com/interlay/interbtc-api/pull/386 Couldn't find a cleaner way to instantiate the `VaultRegistryVaultStatus` type without re-definition.
Signed-off-by: Gregory Hill
Signed-off-by: Gregory Hill
Seems `.at`, `.entriesAt`, `.keysAt` and `.sizeAt` are now deprecated in favour of `api.at()`.
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.4 to 5.4.5. Release notes Sourced from typescript's releases. TypeScript 5.4.5 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.0 to 1.0.1. Release notes Sourced from actions/add-to-project's releases. v1.0.1 Summary This release includes dependency updates, including security fix to undici. What's Changed Dependabot/npm and yarn/undici 5.28.4...
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.0.0. Release notes Sourced from eslint's releases. v9.0.0 Breaking Changes b7cf3bd fix!: correct camelcase rule schema for allow option (#18232) (eMerzh) 09bd7fe feat!: move AST...