stellar / js-stellar-base

The lowest-level stellar helper library. It consists of classes to read, write, hash, and sign Stellar xdr
https://stellar.github.io/js-stellar-base/
Apache License 2.0
108 stars 137 forks source link

Add `Asset.contractId()` helper to predict contract IDs #684

Closed Shaptic closed 1 year ago

Shaptic commented 1 year ago

This just needs a few more test cases before it's ready to merge, cc @orbitlens.

github-actions[bot] commented 1 year ago

Size Change: +3.15 kB (0%)

Total Size: 3.08 MB

Filename Size Change
dist/stellar-base.js 2.26 MB +2.41 kB (0%)
dist/stellar-base.min.js 821 kB +736 B (0%)

compressed-size-action

orbitlens commented 1 year ago

Wow, that was super fast, thanks for adding this functionality to the SDK. Above, I also added my test-case for alphanum4 asset.