Kabir Ramzan

Results 23 comments of Kabir Ramzan

Nice, the image looks much clearer now!

For all interested, I've created the `chia-utils` node module which includes methods that solve this issue: https://www.npmjs.com/package/chia-utils https://github.com/CMEONE/chia-utils

@xw332 Please use `const amount = 1.0495`, get_coin_info uses the XCH decimal amount instead of the mojo amount (if you are getting amount `1049500000000`, do `1049500000000/1000000000000`

Yes, there seems to be an issue with large numbers, I'll take a look.

@xw332 Bug has been fixed in `v1.0.4`.

@qwIvan What version are you running (use `npm list` to see the version)? I thought `v1.0.4` of `chia-utils` fixed this bug in `node.js` and `v1.0.5` fixed it in the browser....

@Alteryy If you still have this issue, I created [chia-utils](https://github.com/CMEONE/chia-utils) a while ago, it might help solve your problem (try either `get_coin_info` or `get_coin_info_mojo`).

@crcrcr999 If you still have this issue, I created [chia-utils](https://github.com/CMEONE/chia-utils) a while ago, it might help solve your problem (try either `get_coin_info` or `get_coin_info_mojo`).

I can help out with migrating test cases to use a more flexible system. I can make a PR for this but have a few questions first: 1. For storing...

Ok, what I will do is first port over the existing tests and feed them into mocha (but tests will be stored in the array format as you mentioned with...