DomKM has joined #stellar-dev
sacarlson has joined #stellar-dev
robinsmidsrod has quit [Excess Flood]
robinsmidsrod has joined #stellar-dev
<stellar-slack> <buhrmi> is possible to use a stellar account with other currency without EVER actually receiving stellar
<stellar-slack> <sacarlson> receiving stellar you mean STR or lunes? you must have a min ballance of native to allow any other currency
<stellar-slack> <buhrmi> i mean the native currency, whatever it is
<stellar-slack> <buhrmi> so if i want to encourage people to make an account on the stellar network, i somehow need to give them some native currency, otherwise they can't receive anything ...
<stellar-slack> <sacarlson> correct
<stellar-slack> <buhrmi> lol ... so that would mean .... either get into bed with whoever has authority over giving away native currency... oooor, bootstrap my own network?
<stellar-slack> <buhrmi> with my own native currency?
<stellar-slack> <sacarlson> or run from testnet as I do with my P2P poker system at least to test it
<stellar-slack> <sacarlson> with testnet they have a friend bot that gives you free STR or lunes
<stellar-slack> <buhrmi> yeah but they won't have that on the live system lol
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<stellar-slack> <sacarlson> no if you want to run from live you would have to buy a min 20 STR that cost 1/3 of cent each
<stellar-slack> <buhrmi> so... new native currency it is
<stellar-slack> <sacarlson> so you would need like 7 cents for each account you wanted to open on live
<stellar-slack> <buhrmi> yeah ... no
<stellar-slack> <sacarlson> ?
<stellar-slack> <buhrmi> shouldn't be *too* hard to initialize a new network with a new native currency right?
<stellar-slack> <buhrmi> neither STR nor lumen, but something new, disconnected
<stellar-slack> <sacarlson> you don't need a new native just setup trust and create a new currency like I did with CHP
<stellar-slack> <sacarlson> but yes you could but then you must have computers that run 24/7 to keep you system running
<stellar-slack> <buhrmi> yeah but new accounts i want to interact with gonna need some initial native currency
<stellar-slack> <sacarlson> yes again testnet or you can run a standalone system with your own native
<stellar-slack> <sacarlson> but hosting and electric is more than 7cents per account unless the number of accounts is big enuf to break even
<stellar-slack> <sacarlson> and the old testnet is very stable and it's free
<stellar-slack> <sacarlson> legacy stellar testnet very stable
<stellar-slack> <buhrmi> mhh i'd rather have my own native currency
<stellar-slack> <sacarlson> it's best at this point on the new system stellar-core to run standallone that has your own native in it
<stellar-slack> <buhrmi> yeah sounds like a good idea
<stellar-slack> <sacarlson> but only due to how often they reboot the stellar-core testnet. if you want your friends to use that then you need to keep your computer on 24/7 and it will eat up disk space
<stellar-slack> <sacarlson> but if you have 20gb of space to kill then go for it
<stellar-slack> <buhrmi> yeah can just set up some nodes on aws, vultr, digital ocean
<stellar-slack> <buhrmi> should be redundant enough
<stellar-slack> <sacarlson> you need the more powerful not free ones I think
<stellar-slack> <buhrmi> they don't have free ones
<stellar-slack> <buhrmi> lol
<stellar-slack> <sacarlson> amazon en2 or ??
<stellar-slack> <sacarlson> oh you have money to burn then cool
<stellar-slack> <buhrmi> yeah well ... legacy money
<stellar-slack> <sacarlson> I'm poor so find ways to spend less
<stellar-slack> <buhrmi> who needs legacy money when u got your own native currency haha
<stellar-slack> <sacarlson> like living under the bridge you suggested that's what I do
<stellar-slack> <buhrmi> should have a real-life deprication warning when trying to buy something with traditional currency
<stellar-slack> <sacarlson> I calculated a lifetime of 100 years of poker transactions on stellar would cost less than $6usd
<stellar-slack> <sacarlson> on live stellar
<stellar-slack> <buhrmi> what's a good name for the new currency
<stellar-slack> <buhrmi> GC? Global Currency?
<stellar-slack> <sacarlson> native ha ha as I can't keep up with all the names on each network
<stellar-slack> <sacarlson> but I call my asset CHP stands for chips
<stellar-slack> <buhrmi> GC = Global Credit
<stellar-slack> <buhrmi> PCHP ... Potato chips
<stellar-slack> <zealord> BM (BurnMe)?
<stellar-slack> <sacarlson> yes the new network you can have 4 leters or 12 letters for asset names too
<stellar-slack> <buhrmi> not 2?
<stellar-slack> <zealord> how many accounts do you plan to run on your network, @buhrmi ?
<stellar-slack> <sacarlson> no standard currency all have 3 leters but 12 letters allows assets like stocks and bonds to also be listed
<stellar-slack> <buhrmi> @zealord: one for everybody who wants to join
<stellar-slack> <zealord> as i second @sacarlson that it need to be large enough to take advantage over live Stellar network
<stellar-slack> <zealord> if around 4 cents/account
<stellar-slack> <zealord> if => of
<stellar-slack> <buhrmi> yeah... let's say ... uhm
<stellar-slack> <buhrmi> for now ... 5 ... billion?
<stellar-slack> <sacarlson> 5B accounts?
<stellar-slack> <zealord> really?o:)
<stellar-slack> <buhrmi> yeah well not in the beginning, of course...
<stellar-slack> <buhrmi> but these days it's easy to scale the hardware
<stellar-slack> <sacarlson> at present live stellar only has 600k accounts
<stellar-slack> <buhrmi> that's not so many
<stellar-slack> <zealord> how did you get that number sacarlson?
<stellar-slack> <zealord> (query on live DB?)
<stellar-slack> <sacarlson> I'm not sure if I read it or when I setup a stellard and looked that the db
<stellar-slack> <sacarlson> it may not be accurate
<stellar-slack> <zealord> i assume the number should be much higher
<stellar-slack> <sacarlson> I took it offline but the database is still resident and I can look at it from that date
<stellar-slack> <sacarlson> it was only a snapshot of that time
<stellar-slack> <sacarlson> I don't have the resources here to run stellard as it require 8gb ram I only have 4gb
``rawr has quit [Quit: Connection closed for inactivity]
<stellar-slack> <zealord> back to buhrmi issue; i think it's much more convenient (time & effort wise) to run your app on top of live stellar network at least when your total accounts on the system is less than 1 or 2 millions;
<stellar-slack> <buhrmi> ..... mhh let me think real quick ...
<stellar-slack> <buhrmi> naaahh
<stellar-slack> <zealord> cos at least, user acquisition cost tend to be much higher than several cents
<stellar-slack> <sacarlson> and when buhrmi systems goes down from lack of nodes people will leave it and go for more stable networks like testnet
<stellar-slack> <zealord> (not to mention devops time/effort);
edubai_ has joined #stellar-dev
<stellar-slack> <buhrmi> yeah so gonna need lotsa nodes
<stellar-slack> <sacarlson> and when I just looked again at stellar.db I see 1.3mil commited objects. not sure if that means there are 1.3M accounts or what that is
<stellar-slack> <zealord> testnet is as it name suggest, for testing; and it's reset from time to time
<stellar-slack> <sacarlson> and my system never got sync due to lack of resources
<stellar-slack> <buhrmi> mhh so if i want to bootstrap a new network without inflated currency, i prob gonna have to fork stellar-core right?
<stellar-slack> <sacarlson> zealord: yes true but legacy testnet is very stable and I'm sure more stable than buhrmi's network will be after he get's bord of using all his disk space and resouces he will turn it off
<stellar-slack> <sacarlson> he will want his internet bandwidth back so he can start watching porn videos again
<stellar-slack> <zealord> lol
<stellar-slack> <buhrmi> no need for that
<stellar-slack> <sacarlson> that was only an example
<stellar-slack> <sacarlson> anther option is you can be a node on testnet so if they decide to reset testnet you can just convert to standalone to keep your original assets. that would provide you stability in the event your system went down
<stellar-slack> <buhrmi> nah
<stellar-slack> <sacarlson> ok run your network then and I'll test it out for you
<stellar-slack> <sacarlson> I'll point my poker system at it and see if you can handleit
<stellar-slack> <buhrmi> awesome :P
<stellar-slack> <buhrmi> want to modify the core to have no inflation and no fees
<stellar-slack> <sacarlson> can do
<stellar-slack> <sacarlson> with no fees then you don't need native currency
<stellar-slack> <sacarlson> can take that out and only have assets
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
<stellar-slack> <zealord> then you're reinventing (or reverse the wheel) and abandon years of enhancement to the system
<stellar-slack> <zealord> it's ok if you want to do it purely for fun & experiment; but in case you're serious, fees & native currency is used as a anti-spam mechanism; which is a must for any large scale system
<stellar-slack> <zealord> so what you're trying to do contradict your goal
<stellar-slack> <sacarlson> yes we learned that in bitcoin
<stellar-slack> <sacarlson> I told you he would get bord of it and shut it down but he will learn by trying
<stellar-slack> <sacarlson> as I did when I branched bitcoin to multicoin I learned alot
<stellar-slack> <zealord> social network of trust is a very interesting concept but lot of work; and as a rule of thumb in the bootstrap stage; it's more efficient to concentrate your effort in building the prototype(or mvp) and delegate the 'infrastructure issue' to main stellar network; at least until he could attract certain amount of users to his network (several thousands?)
<stellar-slack> <eva> Hey @sacarlson, I'm sure you didn't realize, but this kind of comment: "he will want his internet bandwidth back so he can start watching porn videos again" isn't okay here. Feel free to take a look at the community guidelines if you'd like more info https://www.stellar.org/community-guidelines/
<stellar-slack> <sacarlson> ok sorry eva
<stellar-slack> <eva> np :)
<stellar-slack> <zealord> 4 cents for an account in the main network is just a fraction of user acquisition cost
<stellar-slack> <zealord> just my 2 stellars/lumens;
<stellar-slack> <sacarlson> is that what it's down to now? didn't look at the price as of late
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack> <sacarlson> yes $0.0368 for an account now per coingecko price
koshii has quit [Ping timeout: 260 seconds]
<stellar-slack> <zealord> (as user acquisition cost normally goes up from few dollars; which is 50-100 times the 'infrastructure' cost in this case)
<stellar-slack> <buhrmi> i don't think spam gonna be an issue
<stellar-slack> <sacarlson> maybe not but the 25 cents a day I pay for electric to run my computer would buy me alot of accounts
<stellar-slack> <sacarlson> that's not counting the $1 a day I pay for Internet bandwidth
<stellar-slack> <sacarlson> being I only have about 50 friends in the entire world I could give them all accounts for free and save what I would have spent on two days running a standalone system
<stellar-slack> <buhrmi> mhhh... any starting point where to look in the code to remove the native currency from stellar-core?
<stellar-slack> <sacarlson> grep -r native *
<stellar-slack> <buhrmi> haha
Vinnie_win has joined #stellar-dev
<stellar-slack> <sacarlson> from root of stellar-core git
<stellar-slack> <buhrmi> stellar-core with native currency .. would just be named "core" :)
<stellar-slack> <buhrmi> good name
<stellar-slack> <buhrmi> *without
<stellar-slack> <sacarlson> or being stellar is big you can make yours micro-core or free-core
<stellar-slack> <buhrmi> yeah
<stellar-slack> <buhrmi> free-core
<stellar-slack> <sacarlson> I would think what you would want is that fee's are free until trafic gets to a theshold then fee need to apply. after a timeout the spam transactions would be canceled. when trafic stops fee's go back to zero
<stellar-slack> <sacarlson> so people can use the network for free if they don't care about time
<stellar-slack> <sacarlson> but I thought that's how it sort of is
koshii has joined #stellar-dev
de_henne has joined #stellar-dev
<stellar-slack> <buhrmi> no
<stellar-slack> <buhrmi> no fees
<stellar-slack> <buhrmi> maybe open-core is a better name
<stellar-slack> <sacarlson> maybe before you rewrite the world buhrmi you might want to do a test transaction and see if you can even send anything with the present code. I'll send you my testnet account number see if you can send me native
<stellar-slack> <buhrmi> k
koshii has quit [Ping timeout: 264 seconds]
<stellar-slack> <sacarlson> I'm not even hooked to the new stellar-core network with accounts, I can only provide you an account on legacy testnet
<stellar-slack> <sacarlson> oh wait I might be able to create an account
<stellar-slack> <buhrmi> horizon is built on the new one, right?
<stellar-slack> <sacarlson> yes
<stellar-slack> <buhrmi> they have a horizon server running that we can simply curl against i think
<stellar-slack> <sacarlson> I did have some horizon accounts but they have already been reset since I created them
<stellar-slack> <sacarlson> oh from the looks of it the stellar horizon is still broken
<stellar-slack> <sacarlson> http://apiary.io|apiary.io looks to still be set to base58 also, so until I get my stellar-core-commander code running we can't play
<stellar-slack> <sacarlson> without the freindbot working I'm not sure how you can play with just curl
<stellar-slack> <sacarlson> maybe they just moved it? do you know where the freindbot is now?
<stellar-slack> <sacarlson> ok I found it so my new account is GAJYPMJOWAAGCXMB7UYP63LIMTYPXMGIBMYGQRW7QBF5AVSO7S3IRKIP
<stellar-slack> <sacarlson> so send me some "USD"
<stellar-slack> <sacarlson> or 20 native to start then send me 200 CHP
<stellar-slack> <buhrmi> can't even find the api endpoint to create an acc
<stellar-slack> <sacarlson> yes I had it bookmarked wrong here too it's: https://www.stellar.org/galaxy/
<stellar-slack> <sacarlson> that will at least get you to the friendbot needed to get started
<stellar-slack> <buhrmi> oh lol u don't even have to talk to the api to generate keys? ^^
<stellar-slack> <sacarlson> no
<stellar-slack> <sacarlson> well you could
<stellar-slack> <buhrmi> so on apiary i can't find any api to send stuff
koshii has joined #stellar-dev
<stellar-slack> <sacarlson> not so easy ah
<stellar-slack> <buhrmi> they're all GET requests to look at stuff
<stellar-slack> <buhrmi> maybe stuff in horizon source code
<stellar-slack> <sacarlson> yes you have to create signed transactions in base32 to send the api to do transactions of sending native or other assets
<stellar-slack> <sacarlson> that's why I'm working on stellar-core-commander that I plan to interface to horizon
<stellar-slack> <buhrmi> grr and if you do something wrong the horizon testnet just sends back a 500 :O
<stellar-slack> <buhrmi> last commit 9 days ago
<stellar-slack> <sacarlson> well for some errors it sends back base32 error coded streams the need to be decoded on the client side
<stellar-slack> <sacarlson> basicly the same thing you see when you attach direct to stellar-core
<stellar-slack> <buhrmi> aren't client-facing apis supposed to be ... *ahem* ... easy to use? ^^
edubai_ has quit [Quit: Connection closed for inactivity]
<stellar-slack> <sacarlson> no I guess they are ment to be used through java scripts on the clients browser
<stellar-slack> <sacarlson> and those should be easy to use I guess
<stellar-slack> <sacarlson> but I have yet to see one
<stellar-slack> <sacarlson> that hooks to stellar-core
<stellar-slack> <jed> buhrmi: what are you trying to do? generate keys?
<stellar-slack> <buhrmi> make a transaction with curl
<stellar-slack> <jed> where are you getting stuck?
<stellar-slack> <buhrmi> i can't find information about how to do that, more specifically, which parameters the api endpoint (POST /transactions, i assume) expects
<stellar-slack> <buhrmi> the apiary doc only lists GET requests at the moment
<stellar-slack> <jed> so you have to build the tx before you submit it to horizon. this shows you an example of doing that in javascript: https://github.com/stellar/js-stellar-lib/tree/master/docs
<stellar-slack> <buhrmi> ah, perfect, thanks
<stellar-slack> <jed> sorry the docs aren't really in order right now. We are in the process of writing them all and should push a big update to them in the next week or so
<stellar-slack> <buhrmi> 大丈夫 笑
<stellar-slack> <buhrmi> var server = new StellarLib.Server({port: 3000}); => TypeError: Server configuration is not an Object
<stellar-slack> <matschaffer> buhrmi: I don't get that on my end. Just tried with https://raw.githubusercontent.com/stellar/js-stellar-lib/master/dist/stellar-lib.js
<stellar-slack> <buhrmi> maybe the package in npm is old
<stellar-slack> <matschaffer> ``` var server = new StellarLib.Server({secure: true, hostname: "http://horizon-testnet.stellar.org|horizon-testnet.stellar.org", port: 443}); server.loadAccount("GDF5FGKA6ZE6XQRQIHZBI7IRQQL7OKDKQHFVBBGTR2DIRZJBHP5YTIOD") .then(function (account) { console.log(account) }) => Account {address: "GDF5FGKA6ZE6XQRQIHZBI7IRQQL7OKDKQHFVBBGTR2DIRZJBHP5YTIOD", sequence: 1133334495232000} ```
<stellar-slack> <buhrmi> same error ... using stellar-lib from npm
<stellar-slack> <buhrmi> gonna build myself
<stellar-slack> <matschaffer> yeah, looks that way. dist was 29 days ago, npm shows 2 months
<stellar-slack> <buhrmi> nobody complained? lol
<stellar-slack> <buhrmi> can u push it to npm?
<stellar-slack> <jed> I'll get it updated tomorrow
<stellar-slack> <sacarlson> good work buhrmi: keep them on there toes
<stellar-slack> <buhrmi> this results in a 500 from horizon
<stellar-slack> <sacarlson> I can only help you with ruby, I'm not tried the java stuf yet
<stellar-slack> <sacarlson> but the main guys I think will be online soon
sacarlson has quit [Read error: Connection reset by peer]
sacarlson has joined #stellar-dev
<stellar-slack> <sacarlson> I made some progress on getting stellar-core-commander to work but now I'm getting this error: 2015-08-20T19:17:30.235 startup [139815156230016] [default] FATAL Got an exception: invalid quorum set definition [main.cpp:405]
<stellar-slack> <matschaffer> @sacarlson: I'd usually see that on an out of order config
<stellar-slack> <matschaffer> Like a non-quorum entry under the [quorum] section in the toml
<stellar-slack> <matschaffer> Can't open that on my phone though. If you paste just the config I might be able to spot it
<stellar-slack> <sacarlson> ok I'll try it's on virtualbox and had some trouble just getting here
<stellar-slack> <sacarlson> but I see no thrshold value
<stellar-slack> <sacarlson> is that better?
<stellar-slack> <sacarlson> I'm just running the simple example
<stellar-slack> <sacarlson> all the example configs I see THRESHOLD=X under quorum_set so maybe this is the problem? if so what changes in example script or other are needed to change it?
<stellar-slack> <sacarlson> I think I've found where I might edit the config in stellar-core-commander in file local_process.rb at about line 180
<stellar-slack> <matschaffer> Could be the missing threshold. Are you using the latest of both scc and core?
<stellar-slack> <matschaffer> Could also be some disagreement in what the config should look like if one of the two is a little older
<stellar-slack> <sacarlson> no not the core just the latest stellar-core-commander, I had problems in compile and other in the later core
<stellar-slack> <sacarlson> I've already been running the stellar-core with my other code and it was working
<stellar-slack> <matschaffer> The delivery pipeline shows 0.0.1-118-8a1bc71c as mostly passing so scc should be able to drive that version
<stellar-slack> <matschaffer> The last part is the stellar-core git sha
<stellar-slack> <sacarlson> ok and is this from docker or from local as I see the config code is not the same on each
<stellar-slack> <sacarlson> but I'll give the above a try also
<stellar-slack> <matschaffer> The pipeline is all docker based. So could also be the local driver didn't get updated or something
<stellar-slack> <sacarlson> I made some modifications to the config and got it to run now. it seems this version of core is missing some features so I just took those lines out
<stellar-slack> <sacarlson> I havn't looked at all the results yet
<stellar-slack> <sacarlson> but the logs look good
<stellar-slack> <sacarlson> my real goal is to point it at horizon so I won't really need these config things
Vinnie_win_u has joined #stellar-dev
Vinnie_win has quit [Ping timeout: 246 seconds]
etrepum has quit [Ping timeout: 244 seconds]
Kwelstr has quit [Ping timeout: 244 seconds]
moo-_- has quit [Ping timeout: 244 seconds]
etrepum has joined #stellar-dev
moo-_- has joined #stellar-dev
ggherdov` has quit [Read error: Connection reset by peer]
Kwelstr has joined #stellar-dev
ggherdov` has joined #stellar-dev
_whitelogger has joined #stellar-dev