neo-one icon indicating copy to clipboard operation
neo-one copied to clipboard

It would be great if there was a readonly DEAD_WALLET variable.

Open akcware opened this issue 3 years ago • 1 comments

Description

It would be great if there was a readonly DEAD_WALLET variable.

Steps to Reproduce

If there was a DEAD_WALLET variable, we could use it as null Address. For now, I just can use Address.from("NKuyBkoGdZZSLyPbJEetheRhMjeznFZszf").

Maybe defining like this?

export interface AddressConstructor { readonly DEAD_WALLET: Address; }

akcware avatar Jun 28 '21 13:06 akcware

Would this be for smart contracts? It would probably make more sense to have a RANDOM_ADDRESS API since every NEO•ONE user could potentially be using this API.

spencercorwin avatar Jun 28 '21 18:06 spencercorwin