the729 / go-libra

Libra go client library with crypto verifications
Apache License 2.0
44 stars 8 forks source link

[Bug report] gopherjs-libra doesn't consist with go-libra version. #11

Closed feliciss closed 4 years ago

feliciss commented 4 years ago

The newest gopherjs-libra lib errors as Error: rpc error: code = Unknown desc = Response closed without headers with the example folders code and the server http://hk2.wutj.info:38080, while the go-libra performs as well.

feliciss commented 4 years ago

And such as querying an account's state with my libra server I got:

Error:  TypeError: r.getBalance is not a function
the729 commented 4 years ago

Sorry, my proxy was down yesterday, and it is back online now.

You can also setup your own proxy using docker:

docker run -d --name envoy-libra -p 38080:8080 wutianji/envoy-libra
feliciss commented 4 years ago

Sorry, my proxy was down yesterday, and it is back online now.

You can also setup your own proxy using docker:

docker run -d --name envoy-libra -p 38080:8080 wutianji/envoy-libra

Another broken appeared (running query_account.js):

Address:  18b553473df736e5e363e7214bd624735ca66ac22a7048e3295c9b9b9adfc26a
Error:  TypeError: r.getBalance is not a function
the729 commented 4 years ago

The nodejs example is fixed.