Using Escrow with Stellar

Using Escrow with Stellar

Manage alerts

Loading saved threads...

KingOfCoders · External communityPost link
External question — Stellar Stack Exchange Author: KingOfCoders Original post: https://stellar.stackexchange.com/questions/1832 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I (C) want to manage an escrow between A and B. A deposits lumen into a new account and wants B to do something. If B does something - which I determine if B has done it, e.g. answer a questionaire - B should get the amount in the new account. For financial reasons I don't want to touch the lumen, which would be easier (I take the lumen and when B has done it, I transfer the lumen to B). So I think an escrow account would be great. I've read about escrow in Stellar and it seems to involve multi sig transactions. How would this work in this case? How can two people sign an transaction from two different wallets? Should A and B sign this instead of me? All examples I've seen on escrow assume the private keys are shared by one entity e.g. [1] transaction.sign(houseKeyPair); transaction.sign(contractorKeyPair); which doesn't look like escrow to me at all. [1] https://medium.com/wearetheledger/stellar-escrow-smart-contract-development-4c43ef32ac4b
Quote
Report
poliha · External communityPost link
External answer — Stellar Stack Exchange Author: poliha Original post: https://stellar.stackexchange.com/a/1834 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. What you can do is create a new account C(the escrow account where A deposits the lumens) and make A and B signers on C. To release the funds, Both A and B have to authorize the payment. Here is a demo that showcases this. https://github.com/poliha/escrow-demo
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Stellar Stack Exchange Author: KingOfCoders Source score (net votes, not local likes): 2 Original post: https://stellar.stackexchange.com/questions/1832 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I (C) want to manage an escrow between A and B. A deposits lumen into a new account and wants B to do something. If B does something - which I determine if B has done it, e.g. answer a questionaire - B should get the amount in the new account. For financial reasons I don't want to touch the lumen, which would be easier (I take the lumen and when B has done it, I transfer the lumen to B). So I think an escrow account would be great. I've read about escrow in Stellar and it seems to involve multi sig transactions. How would this work in this case? How can two people sign an transaction from two different wallets? Should A and B sign this instead of me? All examples I've seen on escrow assume the private keys are shared by one entity e.g. [1] transaction.sign(houseKeyPair); transaction.sign(contractorKeyPair); which doesn't look like escrow to me at all. [1] https://medium.com/wearetheledger/stellar-escrow-smart-contract-development-4c43ef32ac4b

Cancel quote

Checking account access…