Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof of Payment Command Line #260

Merged
merged 30 commits into from
Nov 28, 2019

Conversation

yeastplume
Copy link
Member

@yeastplume yeastplume commented Nov 27, 2019

Requires #259 (this PR will look much chunkier than it is until that's merged) and aims to:

  • Add proof of payment commands to the command line, thus far we have
    • request_payment_proof and proof_address added to the send command. proof_address is only required if the destination isn't an onionV3 address
  • Display payment proof information for the txs command if only viewing a single transaction (so to see proof info grin-wallet txs -i 2
  • Enable TOR sending in the API via the init_send_tx command (currently disabled for backwards compatibility reasons, no longer a factor.
  • Add a display address command so users without TOR can obtain their wallet-derived public address, the private key of which is used for signing payment proofs.

@yeastplume yeastplume changed the title [WIP] Proof of Payment Command Line Proof of Payment Command Line Nov 28, 2019
@yeastplume
Copy link
Member Author

Ready for review and merge (after #259 is reviewed and merged!)

@yeastplume yeastplume merged commit 9fd1d49 into mimblewimble:master Nov 28, 2019
@yeastplume yeastplume mentioned this pull request Dec 4, 2019
@yeastplume yeastplume deleted the proof_cmd_line branch January 6, 2020 09:57
yyangli pushed a commit to mwcproject/mwc-wallet that referenced this pull request May 13, 2020
* refactor address generation code into libwallet, bool to flag whether to include proof, add sender address in init_send_tx

* rustfmt

* require payment proof addr as part of init_tx

* rustfmt

* store payment proof on sender transaction side

* rustfmt

* change sig to ed25519 sig

* rustfmt

* add message creation and signature

* rustfmt

* add payment proof verification function

* rustfmt

* validate proof on sender side, store proof

* rustfmt

* fix json tests

* fixes and updates to tests

* added API functions for converting and retrieving proof addresses

* rustfmt

* add payment proof to init_send_tx example

* rustfmt

* incorrect comment

* add commands for requesting payment proofs

* rustfmt

* wire up payment proofs into command line

* rustfmt

* add address command

* rustfmt

* added tor sending from owner api

* rustfmt
antiochp pushed a commit to antiochp/grin-wallet that referenced this pull request Aug 7, 2020
* refactor address generation code into libwallet, bool to flag whether to include proof, add sender address in init_send_tx

* rustfmt

* require payment proof addr as part of init_tx

* rustfmt

* store payment proof on sender transaction side

* rustfmt

* change sig to ed25519 sig

* rustfmt

* add message creation and signature

* rustfmt

* add payment proof verification function

* rustfmt

* validate proof on sender side, store proof

* rustfmt

* fix json tests

* fixes and updates to tests

* added API functions for converting and retrieving proof addresses

* rustfmt

* add payment proof to init_send_tx example

* rustfmt

* incorrect comment

* add commands for requesting payment proofs

* rustfmt

* wire up payment proofs into command line

* rustfmt

* add address command

* rustfmt

* added tor sending from owner api

* rustfmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant