mlabs-haskell / seabug-contracts

3 stars 1 forks source link

Add Typescript API with function for getting the wallet's balance #4

Open nrutledge opened 2 years ago

nrutledge commented 2 years ago

This repo needs to get integrated into the Seabug frontend (as an NPM package).

It also needs an additional function added for getting the wallet balance. The required CTL functionality was added in the seabug-deployment in cardano-transaction-lib but needs to get separated out (common stuff staying in CTL and rest added here).

TODO

Note: a PR will need to be created for the neil/wallet-balance changes in the CTL repo. The implementation of getWalletBalance, however, should probably be improved to use the new fromBytesEffect instead of fromBytes function (possibly other refactoring as well).

nrutledge commented 2 years ago

The above changes are being done in this branch: https://github.com/mlabs-haskell/seabug-contracts/tree/neil/typescript-api