Skip to content

sigma-rust compiler fails to compile chaincash contracts #17

@ross-weir

Description

@ross-weir

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:

contract.replace("\n", "\\n").replace("\"", "\\\"");

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamThe issue is caused by a dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions