uber has quit [Quit: bye]
de_henne_ has joined #stellar-dev
de_henne has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #stellar-dev
<stellar-slack> <stadja> Hey guys !
<stellar-slack> <stadja> I am struggling with a simple problem...
<stellar-slack> <stadja> I don't understand the concept around creating a personnal currency
<stellar-slack> <stadja> how can I do that ?
<stellar-slack> <stadja> do I have to setup my own gateway for that ?
<stellar-slack> <stadja> or is there an easier way ?
<stellar-slack> <sacarlson> you can create an asset other than the default stellar Lumens. is that what you want to do?
<stellar-slack> <stadja> Yep
<stellar-slack> <stadja> I want to say, maybe 1 CW1 is 100 lumens
<stellar-slack> <stadja> 1 CW2 is 10000 lumens
<stellar-slack> <sacarlson> no gateway required. you basicly just become a debter to those that have setup trust for your asset
<stellar-slack> <stadja> and I want to send 10 CW1 to a guy using CW2 (for example)
<stellar-slack> <stadja> ok
<stellar-slack> <stadja> so the keyword here is "asset" right ? I'll read about it in the doc :)
<stellar-slack> <stadja> thanks mate :)
<stellar-slack> <sacarlson> for that you would issue your asset to a second account that could then put your asset for sale in the stellar market at what ever price you offer it for
<stellar-slack> <stadja> Ah !
<stellar-slack> <stadja> So each time someone make an offer, you have to ensure that for your own circle of trust every offer has the same value for a particular asset ?
<stellar-slack> <sacarlson> you over complicate. first learn how to setup trust and send assets. then look at what's required to buy and sell and trade them. but yes you must first allow trust before you can receive an asset from an issuer or holder
<stellar-slack> <stadja> ok
<stellar-slack> <stadja> thank you
<stellar-slack> <sacarlson> tools to experment doing all these thing can be found here https://www.stellar.org/laboratory/#
<stellar-slack> <sacarlson> you can later write your own tools to do more specific targeted things and make it more simple to use
<stellar-slack> <stadja> YEah I already started that
<stellar-slack> <stadja> (to make lumen transactions between two account)
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 276 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Read error: Connection reset by peer]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Read error: Connection reset by peer]
del_silva has joined #stellar-dev
del_silva has quit [Client Quit]
<stellar-slack> <armed10> Does anyone here have experience with setting up a local stellar network and installing horizon on one of them?
<stellar-slack> <armed10> I have 4 nodes up and running, and I'm trying to get horizon working on one of them
<stellar-slack> <armed10> after building horizon, it seems to just ignore any commands/flags I put in
<stellar-slack> <bartek> you need two pieces of software: horizon-importer (will import stellar-core data to horizon DB) and horizon (will start a server). sc.ott's working on merging these two project into one but it will take some time.
<stellar-slack> <armed10> ahh
<stellar-slack> <armed10> thanks a bunch
<stellar-slack> <armed10> I thought I could do without, since importer gave me some issues.
<stellar-slack> <armed10> Does the bundle install usually take very long when installing the horizon-importer?
<stellar-slack> <bartek> yes, a couple minutes
<stellar-slack> <bartek> not sure if there's a verbose mode
<stellar-slack> <bartek> oh, there is one :) ``` bundle install --verbose ```
<stellar-slack> <armed10> haha thanks
<stellar-slack> <armed10> Hate to keep bothering you like this, but after 10 minutes it doesn't do anything past this: Cloning into bare repository '/home/chain/.bundler/cache/git/dotenv-144e50b5b44d79bf4881c97e23671703b3ecbdf0'...
<stellar-slack> <armed10> trying with sudo
<stellar-slack> <bartek> what happens when you try: `git clone git://github.com/bkeepers/dotenv.git`?
<stellar-slack> <armed10> an empty dotenv folder and a terminal stuck in cloning into: ...
<stellar-slack> <bartek> it worked for me. maybe you have some issues connecting to http://github.com|github.com ?
<stellar-slack> <bartek> try this: `ssh -vT mailto:git@github.com|git@github.com`
<stellar-slack> <bartek> it should give you some debug info
<stellar-slack> <armed10> if I use http instead of git it works
<stellar-slack> <bartek> probably you have some problem with ssh keys: https://github.com/settings/ssh
<stellar-slack> <mvaneijk> Are there testnet nodes which allow for direct connection?
<stellar-slack> <armed10> I've found the problem. The company network blocks the connection. I've modified the gemfile to use :git => instead, but it says the stellar-base version is not high enough.
<stellar-slack> <armed10> can I manually update it?
<stellar-slack> <bartek> what's the exact error message?
<stellar-slack> <armed10> Bundler could not find compatible versions for gem "stellar-base": In Gemfile: stellar_core_commander (>= 0) ruby depends on stellar-base (>= 0.10.0) ruby stellar-base (0.9.0)
<stellar-slack> <armed10> I get that this is a suboptimal way of installing. I'll probably try installing it the official way when I get home.
<stellar-slack> <bartek> can you try: ``` bundle install --without development test ```
<stellar-slack> <armed10> Gives me the same error
<stellar-slack> <bartek> and when you remove `Gemfile.lock` file?
<stellar-slack> <bartek> sorry, my experience with ruby is quite limited
<stellar-slack> <armed10> As is mine :)
<stellar-slack> <armed10> it does seem to get further now
<stellar-slack> <bartek> :thumbsup:
<stellar-slack> <armed10> Maybe altering the ruby file wasn
acetakwas has joined #stellar-dev
acetakwas has quit [Disconnected by services]
ac3takwas has joined #stellar-dev
<stellar-slack> <scott> Instead of deleting the Gemfile.lock, I would try opening it up and manually change the git urls to http based ones. In that way, bundler won’t have to go through the entire resolution process again
<stellar-slack> <jed> mvaneijk: yeah all the SDF testnet nodes allow you to connect directly
<stellar-slack> <mvaneijk> do you now if the nodes in the testnet.cfg are ok then? http://core-testnet1.stellar.org|core-testnet1.stellar.org does not work for me
<stellar-slack> <mvaneijk> port 11626 or 8080 time out
ac3takwas has quit [Ping timeout: 240 seconds]
<stellar-slack> <jed> how are you trying to connect to it?
<stellar-slack> <jed> you can only connect to it with another stellar core
<stellar-slack> <mvaneijk> ah k, I meant the http connection
<stellar-slack> <mvaneijk> but I was thinking it's not logical to open it to outside.. so I was already using a local test node
<stellar-slack> <stadja> Hello guys :)
<stellar-slack> <stadja> I am currently trying to create a trustline for a new currency issued by my gateway
<stellar-slack> <stadja> and so I am trying to submit the following operation
<stellar-slack> <stadja> StellarSdk.Operation.changeTrust({asset: asset, limit: '10200'});
<stellar-slack> <stadja> but then, the response is a
<stellar-slack> <stadja> so "op_invalid_limit"
<stellar-slack> <stadja> And I don't understand why it would be that ...
<stellar-slack> <stadja> because nobody currently hold any amount of my new asset
<stellar-slack> <stadja> (not even the gateway)
<stellar-slack> <stadja> so why this error ?
<stellar-slack> <stadja> from here: https://www.stellar.org/developers/learn/concepts/list-of-operations.html is says CHANGE_TRUST_INVALID_LIMIT-3This operation would drop the limit of this trustline below the amount of the asset the account currently holds.
<stellar-slack> <stadja> but I don't understand why...
<stellar-slack> <stadja> any idea ?
<stellar-slack> <sacarlson> did you try the change in the stellar lab?
<stellar-slack> <stadja> ah
<stellar-slack> <stadja> nop...
<stellar-slack> <stadja> UUUUH... I just have a hinge...
<stellar-slack> <dzham> stadja: do you need to have an explicit limit? there’s a default value if left out, 9223372036854775807
<stellar-slack> <stadja> ha ! cool I'll try that
<stellar-slack> <stadja> but a little dumb question but
<stellar-slack> <stadja> to create an asset
<stellar-slack> <stadja> except doing something like var asset = new StellarSdk.Asset('CWB2', 'GBO5HHN...YBJ');
<stellar-slack> <stadja> do I have to send an operation in order register it before creating a trustline ?
<stellar-slack> <armed10> Regarding the stellar-core-horizon docker. It doesn't seem to be able to starts postgres, due to a Permission denied error "/etc/ssl/private/ssl-cert-snakeoil.key"
<stellar-slack> <armed10> Does anyone have an idea how to fix this?
<stellar-slack> <dzham> @stadja: assets only exists within a trustline
<stellar-slack> <stadja> ok so I do understand what I am doing and I didn't forget anything trivial
<stellar-slack> <stadja> :)
<stellar-slack> <stadja> And yes, If I don't put any limit in my trustline it works !
<stellar-slack> <stadja> so cool that's a first step :)
<stellar-slack> <stadja> now with a limit... aaaaaah
<stellar-slack> <stadja> anyway,
<stellar-slack> <stadja> thank @dzham for the 'no limit mandatory' hint... I can go from there and I'll check on the limit later !
<stellar-slack> <dzham> no worries
<stellar-slack> <bartek> @armed10: when do you get this error?
<stellar-slack> <armed10> I switched to the docker, thought maybe get it working that way. So I run the docker but couldn't connect to it.
<stellar-slack> <armed10> Then I checked the logs
<stellar-slack> <armed10> Starting PostgreSQL 9.4 database server: mainRemoved stale pid file. The PostgreSQL server failed to start. Please check the log output: 2016-02-08 15:46:21 UTC [26-1] FATAL: could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied ... failed! failed!
<stellar-slack> <stadja> HEY thanks to you @dzham I understood my error... and it wasn't the limit :) I didn't understood the concept of trustline correctly (yeah, so yes in the end I lacked basic understanding). I was trying to set a limit to the issuer not to the recipient
<stellar-slack> <stadja> YES I CREATED MY FIRST CURRENCY ! THAT IS COOOOOOOOL !
<stellar-slack> <bartek> @armed10: that's stange, we're using this docker image in multiple places right now and it works.
<stellar-slack> <bartek> @armed10: it seems to be a docker bug: https://github.com/nimiq/docker-postgresql93/issues/2
<stellar-slack> <stadja> A new question: once you've issued asset with the "authRequiredFlag" flag on, is it possible to clear it ? because I am sending a transaction to clear that flag... but I still can't issue the asset to a non allowTrust account ...
<stellar-slack> <bartek> @stadja what's your account ID?
<stellar-slack> <stadja> GAKGEZON534EM7VOMZQLYLIPZTPARHGVYANOKYRKT4FTGMWIEDBWCFDC
<stellar-slack> <bartek> and the issuer?
<stellar-slack> <bartek> oh, I have it
<stellar-slack> <bartek> well, it's set to false: https://horizon-testnet.stellar.org/accounts/GBO5HHNBHNEZBMQY2CA6IKNZCHNTAKYBQAWK375W5U4FZ6Q4JTVHDYBJ you should be able to issue the asset accounts with created trustline
<stellar-slack> <stadja> what is set to false ?
<stellar-slack> <stadja> auth_required right ?
<stellar-slack> <bartek> issuer account flags: ``` "flags": { "auth_required": false, "auth_revocable": false }, ```
<stellar-slack> <stadja> ok
<stellar-slack> <stadja> but now I would like not to create a trustline between the new account and the issuer
<stellar-slack> <stadja> BUT between the new account and a hot wallet who has some of the new asset
<stellar-slack> <bartek> the new account must have a trustline with issuer to be able to hold assets issued by issuer
<stellar-slack> <stadja> ok !
<stellar-slack> <stadja> And for my information, why not only with the guy who send him some of the asset ?
<stellar-slack> <stadja> (but if it is like that, it is like that, I am cool with that :)
<stellar-slack> <bartek> check this out: https://www.stellar.org/developers/learn/concepts/assets.html
<stellar-slack> <stadja> buuuuut
<stellar-slack> <stadja> when you create a trustline
<stellar-slack> <stadja> you only create a trustline around an asset
<stellar-slack> <stadja> that means StellarSdk.Operation.changeTrust({asset: asset});
<stellar-slack> <stadja> with the asset, of course being the one given to the issuer
<stellar-slack> <stadja> I understand that
<stellar-slack> <stadja> so what do you mean " new account must have a trustline with issuer"
<stellar-slack> <stadja> is it different from " new account must have a trustline with specific asset" ?
<stellar-slack> <bartek> I meant that every account you want to send your asset to, need to create a trustline to you first
<stellar-slack> <stadja> ok
<stellar-slack> <stadja> And how do you do that ?
<stellar-slack> <bartek> `changeTrust` operation
<stellar-slack> <stadja> ok
<stellar-slack> <stadja> So that is what I did
<stellar-slack> <stadja> I have an asset
<stellar-slack> <stadja> the asset is issued by an issuer
<stellar-slack> <stadja> I have a trustline on this asset on my new account, and a hot wallet
<stellar-slack> <stadja> the hot wallet has some of the asset
<stellar-slack> <stadja> but I can't send a payment from the hot wallet to the new account
<stellar-slack> <stadja> issuer: GBO5HHNBHNEZBMQY2CA6IKNZCHNTAKYBQAWK375W5U4FZ6Q4JTVHDYBJ
<stellar-slack> <stadja> hot wallet: GDAGJ5W6NY26BO4RTIVBAGFLBWLBC5OU4FP2DJ4DZLO3ILTHFH3PJPHL
<stellar-slack> <stadja> new account: GAKGEZON534EM7VOMZQLYLIPZTPARHGVYANOKYRKT4FTGMWIEDBWCFDC
<stellar-slack> <bartek> what happens when you try to send the payment?
<stellar-slack> <scott> Your issuer has not posted an AllowTrust operation for the new account, I bet
<stellar-slack> <scott> Did “new account” extend trust during a time when the issuer has “auth required” flag on?
<stellar-slack> <stadja> I am sorry, what is extend trust ?
<stellar-slack> <scott> changeTrust operation
<stellar-slack> <scott> I would try removing the trustline from “new account” to issuer by posting a changeTrust operation with a limit of 0, then re-create it by setting a non-negative limit
<stellar-slack> <stadja> ok ! I'll do that
<stellar-slack> <scott> If that doesn’t work, there might be a bug in stellar core
<stellar-slack> <stadja> Mazel tov! It works !
<stellar-slack> <stadja> you guys rock :)
<stellar-slack> <stadja> so I had to remove the trustline and reset it again and it worked
<stellar-slack> <stadja> should have to know that I had to switch it off and on again
<stellar-slack> <stadja> :P
<stellar-slack> <bartek> @stadja: BTW can you share what browser/node/operating system are you using? one of transaction created by you is strange, given the code you shared and I'm wondering if it's a bug.
<stellar-slack> <scott> stadja: happy to help
<stellar-slack> <stadja> well I am on firefox
<stellar-slack> <bartek> version?
<stellar-slack> <stadja> dev edition: 46.0a2 (2016-02-07)
<stellar-slack> <bartek> @stadja: are you on ARM maybe?
<stellar-slack> <bartek> (like raspberry pi, chromebook etc)
<stellar-slack> <scott> bartek, what error are you curious about?
<stellar-slack> <bartek> @stadja's code: https://stellar-public.slack.com/archives/dev/p1454946567000872 doesn't match the XDR it created:
<stellar-slack> http://stellar.github.io/xdr-viewer/#xdr=AAAAAF3TnaE7SZCyGNCB5Cm5EdswKwGALK3%2Ftu04XPocTOpxAAAAZAAFfUQAAAARAAAAAAAAAAAAAAABAAAAAAAAAAYAAAACdGVzdDEAAAAAAAAAAAAAAF3TnaE7SZCyGNCB5Cm5EdswKwGALK3%2Ftu04XPocTOpxAAAAF5q37agAAAAAAAAAARxM6nEAAABAQoNU3kBEYoVGgzqcxEX2D7VjeYOjeLq7SEPdFd2FA1CE3sMVqBaCWmq7rwvPBHZNjUTMy%2Bn2C3Ds8qBs%2F6CYCQ%3D%3D&type=TransactionEnvelope
<stellar-slack> <bartek> and I saw very similar issue on Atom/Electron on RaspberryPi
<stellar-slack> <stadja> nop I am on windows 10 64bits
<stellar-slack> <scott> @stadja: Are you positive you used the limit of ‘10200’, and not some other number (perhaps ‘1013.7993’) to go along with the error you response you posted?
<stellar-slack> <scott> (just trying to eliminate the simple explanation before we dig into the much harder to pinpoint issue)
<stellar-slack> <stadja> haha I did a lot of test
<stellar-slack> <bartek> it was rather: `10137.9993`
<stellar-slack> <stadja> and yes I used 1013.7993
<stellar-slack> <bartek> ok, cool
<stellar-slack> <scott> awesome, thanks (that could have cost bartek a lot of time tracking down)
<stellar-slack> <stadja> but for the sake of my explaination I prefered to put 10200
<stellar-slack> <stadja> Sorry for the false fright :)
<stellar-slack> <bartek> good, otherwise it would be very dangerous bug :)
<stellar-slack> <scott> no worries!
<stellar-slack> <stadja> Well yeah, I guess that if the limit are not registered correctly that would be hell
<stellar-slack> <stadja> anyway, today I made a big step of my understanding of stellar and therefore I start to have some cool ideas for using it :)
<stellar-slack> <stadja> rIght now I am making some r&d for a swiss university and we are trying plenty of blockchain based technologies to see what we can use and for what
<stellar-slack> <stadja> the 3 main ones are you guys / eris / ethereum
<stellar-slack> <scott> I haven’t read anything about eris, what’s it like?
<stellar-slack> <stadja> Eris industries ?
<stellar-slack> <fredolafritte> EPFL ?
<stellar-slack> <stadja> that is really really cool
<stellar-slack> <stadja> Well I am from EPFL but I am working for the HEG Geneva :)
<stellar-slack> <scott> oh, wait, I have seen Eris! I just lost the name. I’ve been meaning to play with that
<stellar-slack> <stadja> with eris you can create a new distributed + administrable + permissioned blockchain in les than 10 minutes
<stellar-slack> <stadja> and that's cool
<stellar-slack> <stadja> what is not cool... and kinda hard to understand when you are new to blockchain technologies like me, is how to publish your smart contracts on your newly created chain
<stellar-slack> <scott> ah.
<stellar-slack> <scott> I remember being really impressed with their site and docs
<stellar-slack> <stadja> and the other part is that smart contracts language are still fairly... basic
<stellar-slack> <stadja> yep
<stellar-slack> <stadja> but they are making very big improvement very quickly
<stellar-slack> <stadja> and they are cool people, so you can talk to them and they answer no worry
<stellar-slack> <scott> that’s awesome. We try to be the same way as well
<stellar-slack> <stadja> haha and you are don't worry :)
<stellar-slack> <scott> :)
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
<stellar-slack> <stadja> Ok, now time to report. See you later and thank you for your help !
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Remote host closed the connection]
<stellar-slack> <stadja> A last question for the day: what is the current reserve balance amount ?
<stellar-slack> <stadja> (or where can I check that ?)
<stellar-slack> <stadja> I tried to create an account with 11 lumens and it didn't work :S
<stellar-slack> <stadja> but 100 worked
<stellar-slack> <stadja> hoooooo i see ! it is a minimum of 20 after the formula
<stellar-slack> <stadja> ok thanks !
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Remote host closed the connection]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 264 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Read error: Connection reset by peer]
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 260 seconds]
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev