sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #stellar-dev
Anduck has quit [Ping timeout: 252 seconds]
Anduck has joined #stellar-dev
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
de_henne has quit [Remote host closed the connection]
de_henne has joined #stellar-dev
<stellar-slack>
<meetreks> Hi
<stellar-slack>
<meetreks> Just wondering what is the actual DB for Stellar Is it relational or file based? ANy one can share any open source modules which read / write to the Stellar
<sacarlson1>
sqlite
sacarlson1 has quit [Quit: Leaving.]
sacarlson has joined #stellar-dev
<stellar-slack>
<meetreks> thanks sacarlson
<sacarlson>
there are gui apps like http://sqlitebrowser.org/ that I use to analize and can also edit stellar db, there are libs in ruby that I also use to create and edit sqlite files.
<stellar-slack>
<meetreks> Thanks
<stellar-slack>
<meetreks> you read my mind there
<stellar-slack>
<meetreks> that was what i was typing
<stellar-slack>
<meetreks> Btw
<stellar-slack>
<meetreks> why 2 ids :)
<sacarlson>
when my ip address changes every 24 hours my system attempts to login to my already used name. I have to logout and back in again to reset to my proper name.
<sacarlson>
I guess you failed to see this on #stellar @metreks you should check this out, I didn't know it was this easy on the bank side here in thailand. they already have api and sample code on how to use it https://github.com/teepluss/jPayment/blob/master/src/Payment/Adapter/Kbank.php you have this in AUSy land?
<sacarlson>
opps @meetreks
<stellar-slack>
<meetreks> sacarlson
<stellar-slack>
<meetreks> What exactly is this adapater?
<sacarlson>
I assume you have automated banks in austrailia?
<stellar-slack>
<meetreks> OK, alright
<stellar-slack>
<meetreks> let me have a stab and will let you know
<stellar-slack>
<meetreks> Yes
<stellar-slack>
<meetreks> we have
<sacarlson>
it's the only other part needed to create a fully automated gateway
<stellar-slack>
<meetreks> Yes
<stellar-slack>
<meetreks> just one query
<stellar-slack>
<meetreks> guess you are not referring to ATM
<stellar-slack>
<meetreks> or smart AMT
<stellar-slack>
<meetreks> smart ATM
<sacarlson>
not it's not atm it's API that stands for Aplications Programers Interface that allows full functionalidy of an account programaticaly
<sacarlson>
@meetreks so with API on both stellar and your bank you can fully automate transactions throught the entire path
<stellar-slack>
<meetreks> :)
<stellar-slack>
<meetreks> thanks sacarlson
<stellar-slack>
<meetreks> I guess we still need to write a service to invoke the API :)
<sacarlson>
this is not related to stellar-dev if you want to chat about it you can pm me, but yes you could setup a service prototype like that within 6 days as it's all been done for you in the API
<stellar-slack>
<fredolafritte> On stellar v2, has anyone succeeded in creating buy&sell offers ?
<sacarlson>
@fredolafritte no I've only gone as far as succeeding in creating an account, haven't tried trade yet, want to try?
<stellar-slack>
<fredolafritte> I've tried without success so far
<sacarlson>
do you have accounts already setup?
<stellar-slack>
<fredolafritte> yes, thanks to the friendbot api that creates account for us
<sacarlson>
and trust lines?
<stellar-slack>
<fredolafritte> trust lines are likely to work but I cannot find a way to list trust lines for an account
<sacarlson>
well you have to set them before you can list them
<stellar-slack>
<fredolafritte> indeed
<sacarlson>
have you even sent other assets other than Stellar or lunes to another account?
<sacarlson>
have to learn to crawl before you can run
<sacarlson>
I should have asked if you have even sent lunes from one account to another?
<stellar-slack>
<fredolafritte> sending native currency works fine
<sacarlson>
ok so you just haven't setup trust lines?
<stellar-slack>
<fredolafritte> trust lines are supposed to be set but I cannot find a way to list the trust lines for a given account
<sacarlson>
you using the horizon interface?
<stellar-slack>
<fredolafritte> yes but a fork of js-stellar-base on the client side
<sacarlson>
I assume they would just display zero ballances on other assets that had trustlines set
<stellar-slack>
<fredolafritte> when Alice trusts Bob for a given currency/limit, listing the Alice account shows the trust line from Alice to Bob, however, it's other way around I'm looking for
<sacarlson>
so list bobs account, it does't require a secret key
<stellar-slack>
<fredolafritte> Bob doesn't show that Alice trusts Bob
<sacarlson>
so you must have only setup the trust lines on one side, both sides need to be set
<sacarlson>
or am I wrong?
<sacarlson>
they both have to have trust lines to the trustee and one has to have assets from that trustee to send to someone
pixelbeat_ has joined #stellar-dev
<sacarlson>
oh maybe alice or bob are the trustee? in my experments with stelard trading, I couldn't trade assets directly being the trustee, I had to issue them to a party that ended up could trade them. so I need 3 accounts Bob, allice and a gateway or trustee
<stellar-slack>
<fredolafritte> that's my setup too: gateway, alice and bob
<sacarlson>
ok and they both have to have trust lines set to the gateway
<stellar-slack>
<fredolafritte> for sure
<sacarlson>
so bob doesn't have to show trust for alice he just has to show trust for the gateway, is that shown in account details?
<stellar-slack>
<fredolafritte> alice and bob both trust the gateway
<sacarlson>
so do one of them hold positive assets issued from the gateway?
<stellar-slack>
<fredolafritte> so far so good
<sacarlson>
so then you should be able to send from whoever has positive assets to the other
<sacarlson>
what error is seen if not?
<stellar-slack>
<fredolafritte> my use case right now is not to send asset from Alice to Bob, but get the trading working
<sacarlson>
you need to know you can do one before the other in my opinion
<sacarlson>
but if you want to learn calculus before you can add and subract be my guest
<stellar-slack>
<fredolafritte> sending assets from Alice to Bob works
<sacarlson>
ok to trade then you need to setup more trustlines on both sides for eather the same gateway or a different one. did you do that?
<sacarlson>
for another currency or asset
<stellar-slack>
<fredolafritte> already done
<sacarlson>
ok setup buy and sell trades that cross
<stellar-slack>
<fredolafritte> already done too but it doesn't seem to work
<sacarlson>
what error?
<stellar-slack>
<fredolafritte> no error but the balances show no trading has occured
<sacarlson>
what results?
<sacarlson>
what assets what prices....
<stellar-slack>
<fredolafritte> it was a simple 1 to 1
<sacarlson>
sounds like a bug Bitten by the same bug, offers for account doesn't work either.
_whitelogger___ has joined #stellar-dev
edubai_ has quit [Ping timeout: 240 seconds]
_whitelogger__ has quit [Ping timeout: 240 seconds]
alty has quit [Ping timeout: 240 seconds]
dobson` has quit [Ping timeout: 240 seconds]
edubai__ is now known as edubai_
alty_ is now known as alty
dobson has joined #stellar-dev
_whitelogger___ has joined #stellar-dev
nelisky has quit [Quit: nelisky]
nelisky has joined #stellar-dev
<stellar-slack>
<fredolafritte> oops, trading works actually, mistake were from my side
<stellar-slack>
<fredolafritte> is there any api to cancel all orders for a given account ?
nelisky has quit [Quit: nelisky]
dobson has quit [K-Lined]
dobson has joined #stellar-dev
nelisky has joined #stellar-dev
nelisky_ has joined #stellar-dev
nelisky has quit [Ping timeout: 264 seconds]
nelisky_ is now known as nelisky
<sacarlson>
@fedolafritte nice to hear that it works, not sure about the cancel all orders thing. would be good to know what it was you did wrong so others can posibly learn from it, maybe sequence number?
<sacarlson>
@fredolafritte
nelisky has quit [Quit: nelisky]
sacarlson1 has joined #stellar-dev
sacarlson has quit [Ping timeout: 260 seconds]
<stellar-slack>
<fredolafritte> The orderId was not 0 and the server hasn't reported it as an error, the orderId wasn't mine
pixelbeat_ has quit [Ping timeout: 256 seconds]
<stellar-slack>
<scott> @fredolafritte: there isn’t any transaction that cancels all orders for a given account. Instead, you should simply create a transaction with multiple ManageOffer operations, once for each offer you want to cancel.
nelisky has joined #stellar-dev
rejon has joined #stellar-dev
rejon has quit [Ping timeout: 255 seconds]
rejon has joined #stellar-dev
rejon has quit [Ping timeout: 255 seconds]
rejon has joined #stellar-dev
pixelbeat_ has joined #stellar-dev
pixelbeat_ has quit [Ping timeout: 260 seconds]
pixelbeat_ has joined #stellar-dev
<stellar-slack>
<hurukan> hi!
<stellar-slack>
<hurukan> any idea when the stellar-core will be in production?