stellar / soroban-example-dapp

End-to-End Example Soroban Dapp
Apache License 2.0
1.03k stars 830 forks source link

fix: convert scval to bignumber #121

Closed esteblock closed 1 year ago

esteblock commented 1 year ago

Hello. I implented some code from https://github.com/stellar/soroban-react-payment/blob/01f59b8a2f6f5e8f6f682935be43297626808b1c/src/helpers/soroban.ts#L43 in order to solve https://github.com/stellar/soroban-example-dapp/issues/101

This is not optimal as all this convert functions should go into a library. (maybe @soroban-react/utils ? )

But at least, for now users will see their real balances and contributions ( and not a crazy number xd)

paulbellamy commented 1 year ago

Closed in favor of https://github.com/stellar/soroban-example-dapp/pull/117