<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>
<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>
<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> 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>
<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> 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> 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 ?)