stellar / soroban-example-dapp

End-to-End Example Soroban Dapp
Apache License 2.0
1.1k stars 889 forks source link

Fix a couple bugs in the js parsing #11

Closed paulbellamy closed 2 years ago

paulbellamy commented 2 years ago

The API changed, and I forgot to update the js parsing here.

I also, incidentally, added a better error message when the contract is not initialized, and removed an unused js library.

This also makes the assumption now that deadline is a u64, so it changes the parsing in anticipation of https://github.com/stellar/soroban-example-dapp/pull/10