GithubHelp home page GithubHelp logo

Comments (3)

 avatar commented on August 14, 2024

so I am trying to guess how sign and send works, currently testing plamsacli sign, I can sign with my first address like below

plasmacli sign 0.0.0.1 --from 0x965dfa534B1bC4a88c60BA4287e4ceaF38eC7B50 --owner 0.0.0.1

It asks me for passphrase, after enter it, it produce output below

Confirmation Signature for utxo with
position: {0 0 0 0} 
amount: 0
signature: 36937ddc1295f7b8dafa99d27697f38e01c1c226b0e98b4fe5545e29a7ef4fe1001223cfaf5a309be743787b2290a15089e5602edbe3b9e63d87f512e0b12b7501
UTXO had 1 inputs

Notice the position is {0 0 0 0} not {0 0 0 1}? is the signature in the output the one I need for Input0ConfirmSigs in plasmacli send? what should I sign to produce Input1ConfirmSigs?

from plasma-mvp-sidechain.

 avatar commented on August 14, 2024

I am thinking maybe I misunderstand how position works? {0 0 0 1} and {0 0 0 2} should both belong to the same address, and I should use the same address in genesis.json?

from plasma-mvp-sidechain.

 avatar commented on August 14, 2024

With @AdityaSripal 's help, I am able to send 1 token from address A to B, closing the issue now.

plasmacli send --address 0x965dfa534B1bC4a88c60BA4287e4ceaF38eC7B50 --amounts 1,999,0 --position 0.0.0.1 --to 0xCBE12C2c094a773c076F1f2d189c06fAaCD34EDD,0x965dfa534B1bC4a88c60BA4287e4ceaF38eC7B50

from plasma-mvp-sidechain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.