Open ross-weir opened 10 months ago
Getting a parsing error, haven't dug very deep on what exactly the cause could be.
Compiles fine in https://escript.online/ & the node endpoint at /script/p2sAddress.
/script/p2sAddress
Maybe just use the node for now and take a closer look later. To use the node endpoint the contract string needs to be escaped so its valid json:
contract.replace("\n", "\\n").replace("\"", "\\\"");
Getting a parsing error, haven't dug very deep on what exactly the cause could be.
Compiles fine in https://escript.online/ & the node endpoint at
/script/p2sAddress
.Maybe just use the node for now and take a closer look later. To use the node endpoint the contract string needs to be escaped so its valid json: