This requires https://github.com/quorumcontrol/tupelo-go-sdk/pull/188 but is the JS interface to using conditions and preImage. It's not quite as elegant as the go side, but it works, is tested and has a standard place to add more options (which unfortunately right now have to be hard coded).
This requires https://github.com/quorumcontrol/tupelo-go-sdk/pull/188 but is the JS interface to using conditions and preImage. It's not quite as elegant as the go side, but it works, is tested and has a standard place to add more options (which unfortunately right now have to be hard coded).