thencc / algonautjs

A front end friendly Algorand utility
MIT License
10 stars 1 forks source link

allow undefined addrs for asset create #57

Open spencercap opened 1 year ago

spencercap commented 1 year ago

currently these lines disable assetCreate's manager, resever, freeze or clawback addresses from being undefined which is sometimes a desired effect... (for example ARC69 suggests undefined freeze + clawback addresses)

https://github.com/thencc/algonautjs/blob/5c90692aaf2cc5c337431d4685ac81d1d6e0f402/src/index.ts#L529-L532

spencercap commented 1 year ago

@lanidelrey what do you think? how should we allow "undefined" addresses AND fallback to the current account's address for ease?