<sacarlson>
yes I'm also interested in mulisig. I've read what I can find on it so far but no real examples of the process from sign to release of funds
<sacarlson>
I've writen documents on how it's done on bitcoin so I would be glad to also help document your method
<sacarlson>
examples are the best method to start
<sacarlson>
aren't there any published projects that already use the feature? if not I guess my pokerth_accounting will be the first to publish an example app using multisig
_whitelogger has quit [Ping timeout: 252 seconds]
_whitelogger has joined #stellar-dev
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<stellar-slack>
<meetreks> any links to cross border transactions?
<stellar-slack>
<meetreks> Like if I have to set up from the scratch, how the set up would look like?
<sacarlson>
like usd > eur ?
pixelbeat_ has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 256 seconds]
TheSeven has joined #stellar-dev
_whitelogger has quit [Ping timeout: 252 seconds]
_whitelogger has joined #stellar-dev
pixelbeat_ has joined #stellar-dev
<stellar-slack>
<meetreks> sacarlson, yes
<sacarlson>
so you would have to have two accounts with the oposite currency ballances a has 10usd b has 10eur do have that?
<sacarlson>
on an issuer they both have as trusted
<sacarlson>
they would both setup orders to the oposite that would cross in price say even trade 10usd for 10eur to make it easy
<sacarlson>
that's about it then A would have his eur and B would have his USD
<sacarlson>
before you setup the orders they could have looked at the order book to see what bids are being asked to know what to set there order value to
<stellar-slack>
<meetreks> like USD to EUR
<stellar-slack>
<meetreks> So
<stellar-slack>
<meetreks> Let us say
<stellar-slack>
<meetreks> I have one account-A
<stellar-slack>
<meetreks> and that has 100 dollars
<stellar-slack>
<meetreks> and another account-B
<stellar-slack>
<meetreks> and that account has 100 EUR
<stellar-slack>
<meetreks> now all i want is transfer 10 dollars from A to B
<stellar-slack>
<meetreks> the result would leave A with 90 dollars
<stellar-slack>
<meetreks> the result with leave B with 109 EUR (aster conversion)
<stellar-slack>
<meetreks> question is
<stellar-slack>
<meetreks> how do I do this with a trusted entity such as an isuer
<stellar-slack>
<meetreks> Let us say I have an issuer-C who both A & B trust
<stellar-slack>
<meetreks> so A sends to Issuer who in turn sends this to B
<stellar-slack>
<meetreks> can you validate the above sequence for me
<sacarlson>
the path is only going to calculate the present price from the issuer you have chosen
<sacarlson>
you can look at the books before you setup an order to decide what to ask or bid
<sacarlson>
you then setup the order with the chosen issuer, if price of your bid is crossed your order will exicute
<stellar-slack>
<meetreks> OK
<stellar-slack>
<meetreks> I prefer to get the path before I issue the order
<sacarlson>
path just provides you a look at the price
pixelbeat_ has joined #stellar-dev
<sacarlson>
maybe the path your thinking of is chosing a differenc issurer
<sacarlson>
different
<sacarlson>
the value of an asset from one issuer may not be the same price of the same thing from another issuer
<sacarlson>
and thanks bartek I'll take a look at those links you sent us
pixelbeat_ has quit [Ping timeout: 264 seconds]
<stellar-slack>
<meetreks> Yes I am aware
<stellar-slack>
<meetreks> but if the liquidity players are there in the market
<stellar-slack>
<meetreks> I must get a better rate by calling path
<sacarlson>
why don't you just setup two accounts with the script I sent you and setup trades between them to try it out
<sacarlson>
I think you will find that path provides you that same info that looking at the booked orders only in a single value depending on how many orders it has to buy to get the volume needed
<sacarlson>
when you look at the results I think you will get the idea
<sacarlson>
or you could prove me wrong
<stellar-slack>
<meetreks> Can you let me know how to execute your scripts
<stellar-slack>
<meetreks> I use Node JS for mine
<sacarlson>
it's ruby
<stellar-slack>
<meetreks> so I go to ruby and execute that code?
<sacarlson>
do you run on linux?
<stellar-slack>
<meetreks> NO
<stellar-slack>
<meetreks> Windows
<sacarlson>
then I'm not sure, my code was developed on linux. ruby is cross platform but I've never run my code on windows
<stellar-slack>
<meetreks> let me try ruby
<stellar-slack>
<meetreks> you might have to guide me
<sacarlson>
sure I would love to know if my code runs on windows since at some point I do plan to port it
<sacarlson>
the yaml is used to import the secreet numbers from a sucured file
<stellar-slack>
<meetreks> guess it went to sleep mode
<stellar-slack>
<meetreks> guess the function itself worked
<stellar-slack>
<meetreks> but check balance failed
<stellar-slack>
<meetreks> shouldnt matter i guess
<stellar-slack>
<meetreks> let me try with another set of pair
<sacarlson>
I'm not sure you put the from_pair and to_pair in the correct location . I see that the names are used bellow the Yaml that could be replaced with yours
<sacarlson>
or I have the numbers what am I thinking I could run them
<sacarlson>
or = oh
<stellar-slack>
<meetreks> I did
<stellar-slack>
<meetreks> Ok
<stellar-slack>
<meetreks> ran it for 2 different pairs
<stellar-slack>
<meetreks> what is the next step?
<sacarlson>
next step check the ballance
<sacarlson>
I'm also running it on the first set that is sending 10,000 to each currency
<stellar-slack>
<meetreks> OK
<sacarlson>
just change the ammount and run it again to get more money
<sacarlson>
so for your orders and payment transaction you will us the from_pair account as the issure
<sacarlson>
opps you will need a 3rd set of account numbers
<sacarlson>
the to_pair will be changed but the from_pair will stay the same
<sacarlson>
your from_pair will be your primary issuer
<sacarlson>
I looked at the account ballance of "gBuYT5AQpjw1mEiDBJNJshtV3GyV5A2UKA" and I note that it only has trust set for CHP, seems I failed to put the delay in the first one that makes the others not work
pixelbeat_ has quit [Ping timeout: 250 seconds]
<sacarlson>
even with the added delay and running it again I still only see AUS, USD, CHP with positive ballances, maybe I need to add delays between the add trust?
<sacarlson>
after adding a 12 second delay between each add trust it seems to have worked for the rest of the currenies
<sacarlson>
"gBuYT5AQpjw1mEiDBJNJshtV3GyV5A2UKA" now has all these USD EUR JPN AUS GBP CHP from the issuer "gpHUkTY9c7qviqSbAkPMm5v9ZyTDho9GAE" with minimum 10k each
koolhead17 has joined #stellar-dev
koolhead17 has joined #stellar-dev
pixelbeat_ has joined #stellar-dev
pixelbeat_ has quit [Ping timeout: 246 seconds]
koolhead17 has quit [Remote host closed the connection]
sacarlson has quit [Read error: Connection reset by peer]
sacarlson has joined #stellar-dev
koolhead17 has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]