Doichain/dapp

Implement "Atomic name trading" workflow

Aperta

#27 aperta il 18 mag 2018

 (0 commenti) (0 reazioni) (1 assegnatario)JavaScript (13 fork)auto 404
enhancementhelp wantedsecurity

Metriche repository

Star
 (6 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

See: https://github.com/Doichain/core/issues/12 This needs to be integrated into the dApp too. please rewrite this issue with https://wiki.namecoin.info/?title=Atomic_Name-Trading since this is not the solution Especially the part where "bob" (confirm-mode) needs to generate or get the redeem script and/or previous transactionId from "alice" (dApp in send-mode)

Also the verify-mode needs to be modified so it will not check the second "hand-made" signature of us anymore. Instead it must check if the transaction of the doi contains the signrawtransaction of Bob (dApp in confirm mode)

Hallo zusammen, schaut Euch mal dieses Atomic Name Trading Beispiel von Namecoin an, hier muss Bob etwas bezahlen, damit "Sally" eine name_op ausführt. https://wiki.namecoin.info/?title=Atomic_Name-Trading. Und alles funktioniert innerhalb einer einzigen Transaktion. (!!! - sehr cool - )

https://wiki.namecoin.info/?title=Atomic_Name-Trading In unserem Falle ist Sally normalerweise Bob ("confirm-dApp") und Bob ist Alice (Send-dApp).

Das würde bedeuten, dass in unserem Fall Alice eine name_op Transaktion ("DOI confirmation") inkl. Storage-Gebühr (0,01) vorbereitet und unterzeichnet. Bob, bekommt die Raw-Transaktion via REST im Moment in dem er das Mail-Template holt und unterzeichnet ebenso (weil der SOI noch ihm gehört) und in dem Moment zu Alice als DOI zurücksendet.

Guida contributor