rchain-community / RSign

RChain Signature Tool
4 stars 4 forks source link

sign BasicWallet transactions #11

Closed dckc closed 3 years ago

dckc commented 6 years ago

Let's test that we can do this... purses are typically unforgeable names, right? And so far we only sign JSON-serializable stuff...

                  new result, hashOut in {
                    @"blake2b256Hash"!([nonce, amount, retCh].toByteArray(), *hashOut) |
                    for(@hash <- hashOut) {
                      @cryptoVerify!(hash, sig.hexToBytes(), pk.hexToBytes(), *result) |

-- https://github.com/rchain/rchain/blob/dev/casper/src/main/rholang/BasicWallet.rho

dckc commented 6 years ago

See also Support listening on unforgeable names RChain-API/issues/5

JoshOrndorff commented 6 years ago

Here is a relevant demo from Michael Birch of using basic wallet. He produced a signature from the scala console. https://www.youtube.com/watch?v=WzAdfjwgaQs#t=9m28s

dckc commented 5 years ago

some progress, using previewPrivateNames() and makeProxy():

https://github.com/dckc/RChain-API/tree/payment 3ebcd11

dckc commented 3 years ago

BasicWallet is obsolete in favor of REVVault.