<stellar-slack>
<sacarlson> I found my solution as expected after sleeping it's easy. it's just that the error in embedded under 4 layers in the object e.extras.result_codes.operations[0]; so my wallet now provides status of a processing transaction and an almost readable error code when needed. http://sacarlson.github.io/my_wallet/
bit2017 has quit [Ping timeout: 264 seconds]
bit2017 has joined #stellar-dev
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
de_henne has joined #stellar-dev
de_henne_ has quit [Ping timeout: 265 seconds]
<stellar-slack>
<steelheaddigital> Hey all, I have a question about path payments that I’m hoping you can help with. I’m obviously not quite understanding how it works. Here’s the situation. Say I have 3 accounts A, B, and C. Account A issues a currency ABC. Account B issues a currency XYZ. Accounts A and C both have trust lines to account B for currency XYZ. I would think I could do a path payment from account A with sou
<stellar-slack>
currency XYZ. However, when I do a “Find Path Payments” operation with parameters like that it doesn’t find anything. Hopefully the question makes sense. Thanks for any help.
<stellar-slack>
<steelheaddigital> OK, I think I figured out what’s going on maybe. It’s not that it’s not finding a path, it’s just only finding the direct one between A and C for currency XYZ since they both have a trust line for XYZ. Does that sound right? So then the question becomes, how do I make a payment from account A with currency ABC that ends up in account C as currency XYZ? The end state I’d like to hav
<stellar-slack>
currency ABC to account B, and then account B in turn issued that amount to account C in XYZ. Is that possible? I really hope all these letters make sense, sorry if not :)
<stellar-slack>
<sacarlson> I've never used path payment but it looks like the lab now supports setup of path payments https://www.stellar.org/laboratory/
<stellar-slack>
<sacarlson> we can try setup a tx if you provide more details including the issuer
<stellar-slack>
<sacarlson> and the account you want me to send it too
<stellar-slack>
<sacarlson> if it works I'll add the feature to my_wallet app
<stellar-slack>
<steelheaddigital> Thanks @sacarlson. Yeah, I was trying this in the lab and that's where I saw these results.
<stellar-slack>
<sacarlson> in the lab as I see it you put in the from asset issuer and to asset issuer and amount in each
nivah has joined #stellar-dev
<stellar-slack>
<steelheaddigital> Basically, what I want to do is have multiple accounts that issue their own currencies. Then they should be able to pay each other in the currency they issue but without having to set up individual trust lines to each other. That's where the third account comes in. They would all trust that one, which would act as an intermediary. From what I can tell, Stellar should be able to do that, just haven
<stellar-slack>
<sacarlson> like I said we can give it a try, what is your destination account you want me to send it to?
<stellar-slack>
<sacarlson> well we can analize what you now have setup at least to see what the problem might be if we have the address
bit2017 has quit [Ping timeout: 240 seconds]
<stellar-slack>
<sacarlson> accountId
<stellar-slack>
<sacarlson> and I assume on testnet
nivah has quit [Max SendQ exceeded]
bit2017 has joined #stellar-dev
bit2017 has quit [Read error: Connection reset by peer]
<stellar-slack>
<sacarlson> I have to assume that the paypath works from offers that it sees on the order list?
<stellar-slack>
<steelheaddigital> OK, I’ve already tried it a bunch, but if you want you want to give it a go and see if you catch something I’m missing.
<stellar-slack>
<steelheaddigital> The “intermediary” account is GCMVOOMV7TXG6PHOJGSNM54J3AW6Y3MB5AU45BTEI6OLLV24KNGJ5NRG
<stellar-slack>
<steelheaddigital> I then have two other accounts set up with trustlines to that one for NMP.
<stellar-slack>
<sacarlson> well to start with that account doen't exist on ether network Live or testnet
<stellar-slack>
<steelheaddigital> um, sure it does. On Testnet
<stellar-slack>
<steelheaddigital> The other accounts with trust lines to it are GBXQM4QK5Z5ZHJ7QFH6M7T6PXO4Z4QEAWW5VUWHB2GFLS5NZYFUISSTJ and GC63JIBLTXYS7U6CZXYGKZGTGSLYAH5UXP7TDP35VH5UDANODKU4LF3X
<stellar-slack>
<sacarlson> oh I had a typo that had an added space
<stellar-slack>
<steelheaddigital> :)
<stellar-slack>
<sacarlson> so the first one only has trust for asset NMP issuer GBXQM4QK5Z5ZHJ7QFH6M7T6PXO4Z4QEAWW5VUWHB2GFLS5NZYFUISSTJ
<stellar-slack>
<sacarlson> your other account only has trust for NMP issuer GCMVOOMV7TXG6PHOJGSNM54J3AW6Y3MB5AU45BTEI6OLLV24KNGJ5NRG
st3phn has joined #stellar-dev
st3phn has left #stellar-dev [#stellar-dev]
<stellar-slack>
<steelheaddigital> Right. So what I’m trying to do is send NMP issued by GBXQM4QK5Z5ZHJ7QFH6M7T6PXO4Z4QEAWW5VUWHB2GFLS5NZYFUISSTJ to GC63JIBLTXYS7U6CZXYGKZGTGSLYAH5UXP7TDP35VH5UDANODKU4LF3X without having to explicitly have trust between those two.
<stellar-slack>
<steelheaddigital> My thought was if the both trust GCMVOOMV7TXG6PHOJGSNM54J3AW6Y3MB5AU45BTEI6OLLV24KNGJ5NRG then it should work. But I’m obviously missing something.
<stellar-slack>
<steelheaddigital> Anyway, I have to sign off for the night. I appreciate your help @sacarlson. Maybe it’ll all make sense tomorrow :)
<stellar-slack>
<sacarlson> well I had to look at it all and what I note is that none of your accounts have a balance of any of the assets. so without a balance you can't send or trade anything
<stellar-slack>
<sacarlson> so to begin with you will need to issuer assets from each of the issuers to the holders. then I would think you would have to setup trade orders to allow path payment to work
<stellar-slack>
<sacarlson> the trade orders would normaly be setup to have a common trust in say Lumens but I guess you might be able to setup common trust on any asset
<stellar-slack>
<sacarlson> the trade orders are needed to determine what the value the seller is placing on what he is selling
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #stellar-dev
stellar-slack1 has joined #stellar-dev
stellar-slack has quit [Ping timeout: 250 seconds]
edubai__ has quit [Quit: Connection closed for inactivity]
bit2017 has joined #stellar-dev
nivah has joined #stellar-dev
bit2017 has quit [Ping timeout: 240 seconds]
<stellar-slack1>
<powderfan> @steelheaddigital: I'd even suggest you setup another account D for placing buy and sell orders. Think the path mechanism might become more clear if you keep sender, receiver and trader separated.
patsToms has quit [Ping timeout: 276 seconds]
patsToms has joined #stellar-dev
nivah has quit [Ping timeout: 250 seconds]
<stellar-slack1>
<steelheaddigital> Ah, trade orders. That's what I'm missing. Thanks so much guys
bit2017 has joined #stellar-dev
<stellar-slack1>
<steelheaddigital> Yep, that did it. Creating an offer before submitting the path payment allowed me to do what I wanted. Thanks again @sacarlson and @powderfan.
<stellar-slack1>
<scott> <!here|@here>: I’m proposing we add multihash support to the stellar network, to allow direct integration with ipfs, and would love feedback here: https://github.com/stellar/stellar-protocol/issues/32
termos_ has joined #stellar-dev
olinkl has quit [*.net *.split]
termos has quit [*.net *.split]
sdehaan has quit [*.net *.split]
dobson has quit [*.net *.split]
dobson has joined #stellar-dev
termos_ is now known as termos
sdehaan has joined #stellar-dev
olinkl has joined #stellar-dev
<stellar-slack1>
<brian.ebert> I'm passing a keypair to sign a transaction: transaction.sign(keypair). This code has been running a while. Today I'm getting an error: "XDR Write Error: [object Object] is not a DecoratedSignature" Any ideas?