Logged Conversation (all times UTC)
[05:34] <stellar-slack> Hi
[05:35] <stellar-slack> 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
[05:35] <sacarlson1> sqlite
[05:41] <stellar-slack> thanks sacarlson
[05:41] <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.
[05:41] <stellar-slack> Thanks
[05:41] <stellar-slack> you read my mind there
[05:41] <stellar-slack> that was what i was typing
[05:41] <stellar-slack> Btw
[05:41] <stellar-slack> why 2 ids :)
[05:43] <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.
[05:44] <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?
[05:53] <sacarlson> opps @meetreks
[06:54] <stellar-slack> sacarlson
[06:54] <stellar-slack> What exactly is this adapater?
[06:55] <sacarlson> the API? it's allows automated transactions on kbank http://www.kasikornbank.com/en/Pages/Default.aspx
[06:56] <sacarlson> I assume you have automated banks in austrailia?
[06:56] <stellar-slack> OK, alright
[06:56] <stellar-slack> let me have a stab and will let you know
[06:56] <stellar-slack> Yes
[06:56] <stellar-slack> we have
[06:56] <sacarlson> it's the only other part needed to create a fully automated gateway
[06:57] <stellar-slack> Yes
[06:57] <stellar-slack> just one query
[06:57] <stellar-slack> guess you are not referring to ATM
[06:57] <stellar-slack> or smart AMT
[06:57] <stellar-slack> smart ATM
[07:08] <sacarlson> not it's not atm it's API that stands for Aplications Programers Interface that allows full functionalidy of an account programaticaly
[07:09] <sacarlson> @meetreks so with API on both stellar and your bank you can fully automate transactions throught the entire path
[07:24] <stellar-slack> :)
[07:24] <stellar-slack> thanks sacarlson
[07:25] <stellar-slack> I guess we still need to write a service to invoke the API :)
[07:27] <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
[08:18] <stellar-slack> On stellar v2, has anyone succeeded in creating buy&sell offers ?
[08:20] <sacarlson> @fredolafritte no I've only gone as far as succeeding in creating an account, haven't tried trade yet, want to try?
[08:44] <stellar-slack> I've tried without success so far
[08:44] <sacarlson> do you have accounts already setup?
[08:45] <stellar-slack> yes, thanks to the friendbot api that creates account for us
[08:45] <sacarlson> and trust lines?
[08:46] <stellar-slack> trust lines are likely to work but I cannot find a way to list trust lines for an account
[08:47] <sacarlson> well you have to set them before you can list them
[08:48] <stellar-slack> indeed
[08:48] <sacarlson> have you even sent other assets other than Stellar or lunes to another account?
[08:48] <sacarlson> have to learn to crawl before you can run
[08:50] <sacarlson> I should have asked if you have even sent lunes from one account to another?
[08:53] <stellar-slack> sending native currency works fine
[08:53] <sacarlson> ok so you just haven't setup trust lines?
[08:57] <stellar-slack> trust lines are supposed to be set but I cannot find a way to list the trust lines for a given account
[08:58] <sacarlson> you using the horizon interface?
[08:59] <stellar-slack> yes but a fork of js-stellar-base on the client side
[08:59] <stellar-slack> https://github.com/FredericHeem/js-stellar-base
[09:02] <sacarlson> seems the trustlines should be visible in accounts details http://docs.stellarhorizon.apiary.io/#reference/default/account/account-details?console=1
[09:02] <sacarlson> I assume they would just display zero ballances on other assets that had trustlines set
[09:17] <stellar-slack> 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
[09:18] <sacarlson> so list bobs account, it does't require a secret key
[09:24] <stellar-slack> Bob doesn't show that Alice trusts Bob
[09:24] <sacarlson> so you must have only setup the trust lines on one side, both sides need to be set
[09:25] <sacarlson> or am I wrong?
[09:25] <sacarlson> they both have to have trust lines to the trustee and one has to have assets from that trustee to send to someone
[09:36] <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
[09:41] <stellar-slack> that's my setup too: gateway, alice and bob
[09:42] <sacarlson> ok and they both have to have trust lines set to the gateway
[09:42] <stellar-slack> for sure
[09:44] <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?
[09:46] <stellar-slack> alice and bob both trust the gateway
[09:46] <sacarlson> so do one of them hold positive assets issued from the gateway?
[09:47] <stellar-slack> so far so good
[09:48] <sacarlson> so then you should be able to send from whoever has positive assets to the other
[09:48] <sacarlson> what error is seen if not?
[09:49] <stellar-slack> my use case right now is not to send asset from Alice to Bob, but get the trading working
[09:49] <sacarlson> you need to know you can do one before the other in my opinion
[09:50] <sacarlson> but if you want to learn calculus before you can add and subract be my guest
[09:53] <stellar-slack> sending assets from Alice to Bob works
[09:55] <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?
[09:55] <sacarlson> for another currency or asset
[09:55] <stellar-slack> already done
[09:56] <sacarlson> ok setup buy and sell trades that cross
[09:56] <stellar-slack> already done too but it doesn't seem to work
[09:56] <sacarlson> what error?
[09:57] <stellar-slack> no error but the balances show no trading has occured
[09:57] <sacarlson> what results?
[09:57] <sacarlson> what assets what prices....
[09:58] <stellar-slack> it was a simple 1 to 1
[09:58] <sacarlson> I guess that would work
[09:58] <stellar-slack> I'll keep investigate
[10:00] <stellar-slack> anyway, getting the transactions and offers for a given account doesn't work: https://github.com/stellar/go-horizon/issues/52
[10:01] <sacarlson> sounds like a bug Bitten by the same bug, offers for account doesn't work either.
[13:49] <stellar-slack> oops, trading works actually, mistake were from my side
[14:19] <stellar-slack> is there any api to cancel all orders for a given account ?
[16:36] <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?
[16:37] <sacarlson> @fredolafritte
[17:55] <stellar-slack> The orderId was not 0 and the server hasn't reported it as an error, the orderId wasn't mine
[18:30] <stellar-slack> @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.
[21:23] <stellar-slack> hi!
[21:23] <stellar-slack> any idea when the stellar-core will be in production?
[22:23] <stellar-slack> soon
About StellarVerse IRC Logger
StellarValue IRC Logger
is part of