koolhead17 has joined #stellar-dev
koolhead17 has joined #stellar-dev
gst has quit [Quit: leaving]
gst has joined #stellar-dev
gst has joined #stellar-dev
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<sacarlson> can I access these lumens i've recieved on horizon-testnet.stellar.org from the test.stellar.org api or are they two different networks? the addresses I'm getting seem to be longer and I don't get a balance from them now
<sacarlson> can I point my api port 9002 to another url to get it to work for horizon-testnet.stellar.org?
<sacarlson> if not how can I get more lumens for the test.stellar.org:9002
<sacarlson> eample this account seems to work with my software on test.stellar.org for me ghr1Bkm4RYLu3k24oPeQVsZ41rJiy9tNza but this address with lumens deposited does not gjEaiJ65eJuL4xT1E1hv3pmB4xkx18xb2RrNKK5VF9QJ9LJA3a
<stellar-slack> <matschaffer> sacarlson: two different networks. http://horizon-testnet.stellar.org|horizon-testnet.stellar.org is stellar-core (new) http://test.stellar.org|test.stellar.org is stellard (deprecated)
<sacarlson> so how do I point my api software to horizon-testnet.stellar.org? completely different api format?
<stellar-slack> <matschaffer> both should have a friendbot that will provide lumens (on stellar-core) or stellars (on stellard) for new accounts
<stellar-slack> <matschaffer> yes, it’s a different api. There should be some clients available for the new system though
<sacarlson> I can't seem to find the friendbot for the old one
<sacarlson> no I wrote my ruby api to support the old one
<stellar-slack> <matschaffer> there’s a demo section on https://www.stellar.org/ that does the friendbot step. Looks like it’s https://api-stg.stellar.org/friendbot?address=<address>
<sacarlson> ok I'll take a look
<stellar-slack> <matschaffer> https://github.com/stellar/ruby-stellar-lib talks to the new API if that helps
<sacarlson> no that didn't work when I tried it as why I wrote one that does
<stellar-slack> <matschaffer> gotcha. feel free to throw something on https://github.com/stellar/ruby-stellar-lib/issues - this is all very fresh code so likely some bugs around
<stellar-slack> <matschaffer> also until last week or so stellar-core testnet had some stability issues
<stellar-slack> <matschaffer> it’s been doing pretty well recently though
<sacarlson> that's ok I just need more lumens to continue with what I have
<sacarlson> it looks to have not been updated in over 30 days
<sacarlson> it took me two days to install as it required uneeded gem packages also
<stellar-slack> <matschaffer> ouch
<stellar-slack> <matschaffer> scott may be able to provide some help with that. Not sure what the state is atm
<stellar-slack> <matschaffer> I’ve been mostly focusing on stellar-core for the last month or so and not looking at the client libs much
<sacarlson> nope seems so far from www.stellar.org there are only links to https://www.stellar.org/galaxy/ that provide lumens to the new network only. your other link fails
<sacarlson> I must have started my project on the wrong day just before they changed
koolhead17 has quit [Remote host closed the connection]
<stellar-slack> <epsilon> @jed: I had updated and set both peer and validation keys. It hadn't sync'd by 'age' posted above. Syncing on older versions has been possible without setting history so I thought perhaps there might be a minimal history requirement now.
<stellar-slack> <epsilon> Just tried it again now using the testnet config from docs and caught a dump. Will upload in case @monsieurnicolas needs to take a look.
<stellar-slack> <matschaffer> sacarlson: if you scroll down on https://www.stellar.org/ a bit there’s a "Developing on Stellar” section where you can click through creation and friendbot funding. it worked for me just now
<stellar-slack> <matschaffer> you get STR not lumens on the old network btw
<sacarlson> oh cool I'll look again
<sacarlson> oh wow that must have been where I got it before but lost how to find it. ya that works thanks stellar-slack
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
<stellar-slack> <meetreks> matschaffer, Hi
<stellar-slack> <meetreks> can you help me with my query re: test accounts
<stellar-slack> <matschaffer> I can certainly try @meetreks
<stellar-slack> <meetreks> stellar_path_find
<stellar-slack> <meetreks> if I need to play with test accounts to see what is returned for different currencies
<stellar-slack> <meetreks> what is the best way to do it?
<stellar-slack> <matschaffer> I'd probably use one of the client libs against testnet
<stellar-slack> <meetreks> can you explain client libs a bit more please
<stellar-slack> <matschaffer> Or a private cluster could work too
<stellar-slack> <meetreks> currently I connect to http://test.stellar.org|test.stellar.org
<stellar-slack> <meetreks> I sue a couple of accounts, but they do not have enough balance to emulate path find in all currencies
<stellar-slack> <matschaffer> That's stellard so you'd want one of the older clients
<stellar-slack> <meetreks> what is the diffrence?
<stellar-slack> <epsilon> @jed, @monsieurnicolas terminate called after throwing an instance of 'xdr::xdr_overflow' what(): insufficient buffer space in xdr_generic_get Core: http://lilfile.com/fLpYDB stellar-core.log: http://lilfile.com/6WGI5T shell copy/pasta: http://pastebin.com/xkcZuxkH
<stellar-slack> <matschaffer> You may be able to have friendbot give you more STR
<stellar-slack> <meetreks> :)
<stellar-slack> <meetreks> how can I contact friendbot the robot :)
<stellar-slack> <matschaffer> @meetreks: stellard is the old network, stellar-core is the new one. We're nearing transition to the new network but not quite there yet. The two are separate in most every way (accounts, API, code base)
<stellar-slack> <meetreks> OK
<stellar-slack> <meetreks> this helps a lot
<stellar-slack> <meetreks> thanks master :)
<stellar-slack> <meetreks> So any reference to stellar-core?
<stellar-slack> <matschaffer> Like docs? Still working on those
<stellar-slack> <meetreks> so that I can download the necessary and close the loop
<stellar-slack> <matschaffer> Though the repo has some fledgling docs
<stellar-slack> <epsilon> hey, @matschaffer is core ETA close-ish ?
<stellar-slack> <meetreks> OK
<stellar-slack> <meetreks> 2 things
<stellar-slack> <matschaffer> As fast as we can. But it's a "done when done" thing. Wouldn't want to rush and cause trouble after launch
<stellar-slack> <meetreks> for now, let me try with stllard
<stellar-slack> <meetreks> stellard
<stellar-slack> <meetreks> and play around with it
<stellar-slack> <meetreks> I will read about stellar-core
<stellar-slack> <matschaffer> Sounds good!
<stellar-slack> <meetreks> For stellard, where can I request friendbot for some friendly stellars
<stellar-slack> <matschaffer> there’s a demo section on https://www.stellar.org/ that does the friendbot step. Looks like it’s https://api-stg.stellar.org/friendbot?address=<address>
<stellar-slack> <epsilon> core is amazing -- can't wait :)
<stellar-slack> <meetreks> any URL to core?
<stellar-slack> <matschaffer> Yeah that
<stellar-slack> <meetreks> thanks Epsilon
<stellar-slack> <epsilon> it's so resource friendly for what it does. Seems like magic.
<stellar-slack> <matschaffer> It's definitely getting there. At least some of the full stack acceptance tests are passing
<stellar-slack> <epsilon> compared to the predecessor it's a killer
<stellar-slack> <matschaffer> https://www.stellar.org/galaxy/ also has a lot of docs on the new stuff
<stellar-slack> <matschaffer> or at least links to docs
<stellar-slack> <matschaffer> epsilon: yeah, I think doing less also has a lot to do with it
<stellar-slack> <matschaffer> not a c++ guy myself, but it is definitely very light weight. I actually installed a monitoring agent last week and the total memory footprint on the box was mostly the agent, not stellar-core
<stellar-slack> <epsilon> haha yeah
<sacarlson> so this stellar-slack must be some kind of a gateway to IRC?
<sacarlson> I thought I was chating with one guy ha ha
<stellar-slack> <matschaffer> sacarlson: haha, yes. It’s a bot that bridges our slack & irc channels
<stellar-slack> <matschaffer> the slack name should show up at the front of the irc message
<sacarlson> I just did my first successful transaction of my new currency CHP in the test.stellar.org network. I'm very happy
<sacarlson> no my poker network will have it's own money
<sacarlson> no = now
<stellar-slack> <matschaffer> hey congrats!
<sacarlson> matschaffer thanks
de_henne has joined #stellar-dev
<stellar-slack> <yaseenhamdulay> why is the seed of an account generally stored?
<stellar-slack> <yaseenhamdulay> doesn't the seed just generate the public, private key pair?
<stellar-slack> <matschaffer> yaseenhamdulay: typically I see the private key referred to as the “seed” if that’s what you mean
<stellar-slack> <matschaffer> like if you hit `curl -X POST https://test.stellar.org:9002 -d '{"method":"create_keys”}’` you get `master_seed` as the private portion of the key (afaik)
<stellar-slack> <matschaffer> stellar-core -genseed has the same convention
<stellar-slack> <matschaffer> ``` ❯ stellar-core -genseed Secret seed: sfSLrc6GxnxBMVYGELM42AATtC54prot1vbUPLdi1qrWP1o7PYh Public: gsvwYMLGrSGjJUK1EUJ6HYzzZK3qvcsdd4ULxXSLeJRizXQZJE9 ```
<stellar-slack> <yaseenhamdulay> in js-stellar-base there is a seed, private and public key
<stellar-slack> <yaseenhamdulay> digging in it appears to just be "Returns a new signing key pair generated deterministically from a 32-byte seed. " from tweetnacl
<stellar-slack> <matschaffer> this seems to have the same convention where the “seed” is the private portion and publicKey is the public portion
<stellar-slack> <yaseenhamdulay> the public and private key is a function of the seed
<stellar-slack> <matschaffer> I’m looking at https://github.com/stellar/js-stellar-base/blob/c56ff738d54e35a4ff062a370a25c99c73d00cd9/src/keypair.js#L10 where I don’t see anything about private
<stellar-slack> <yaseenhamdulay> calls
<stellar-slack> <yaseenhamdulay> which generates a key pair
<stellar-slack> <matschaffer> from looking at https://github.com/dchest/tweetnacl-js/blob/24b9b3b3773f5e728745ed6f77add2cd7a584206/nacl.js#L1144 I think the seed is what tweetnacl calls the secretKey
<stellar-slack> <matschaffer> looks like it just copies it into a Uint8Array
<stellar-slack> <yaseenhamdulay> ah, ok
koolhead17 has joined #stellar-dev
<stellar-slack> <yaseenhamdulay> is there some sort of interface i can use to send transactions on the testnet?
<stellar-slack> <meetreks> matschafer
<stellar-slack> <meetreks> hi
<stellar-slack> <meetreks> as you said, I used friend bot and it helped me generate a couple of accounts with STR
<stellar-slack> <meetreks> but when I try the path
<stellar-slack> <meetreks> it still comes unstruck
<stellar-slack> <matschaffer> yaseenhamdulay: https://www.stellar.org/galaxy/ has an in-browser thingie
<stellar-slack> <matschaffer> curl simulator thingie
<stellar-slack> <matschaffer> meetreks: unstruck? Not really sure what you mean. I also haven’t tried pathed payments myself yet so maybe there’s some vocabulary I’m missing
TheSeven has quit [Disconnected by services]
[7] has joined #stellar-dev
<sacarlson> after I setup a trust path do I have to wait 10 secounds or 1 update cycle before I can recieve a transaction to that trust or can I do it imidiatly?
<stellar-slack> <meetreks> matschafer
<stellar-slack> <meetreks> Hi
<stellar-slack> <meetreks> This is what I want to emulate
<stellar-slack> <meetreks> I want to try emulating 10 cross border transactions
<stellar-slack> <meetreks> across different currencies
<stellar-slack> <meetreks> what is the best way to go about doing this in http://test.stellar.org|test.stellar.org
<stellar-slack> <meetreks> can you kindly help me
<sacarlson> meetreks sounds cool can't wait to try it
<sacarlson> and from what I learned it seems you don't have to put any delay after you add a trust before you do a transaction or at least it worked at least one time in test
pixelb has joined #stellar-dev
<stellar-slack> <dzham> sacarlson: as long as the tx’s are submitted in the correct order it’s fine
<stellar-slack> <dzham> meetreks: you need to create 10 gateways, set trust, issue credits, submit offers
<sacarlson> dzham cool, I originaly thought the trust would have to propagate before it was accepted so had originaly added delays but now have them removed
<sacarlson> also seems I can perform the same trust commands on the same account without a problem even after it was already done before
<sacarlson> I had planed to write a test to see if it was already set before I ran the trust command but now I'm skiping that
koolhead17 has quit [Remote host closed the connection]
koolhead17 has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]
<stellar-slack> <monsieurnicolas> @epsilon: easiest when reporting crashes that you just send out a stack trace. Do you know how to do this?
sacarlson1 has joined #stellar-dev
sacarlson has quit [Read error: Connection reset by peer]
pixelb has quit [Ping timeout: 265 seconds]
pixelb has joined #stellar-dev
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
Kwelstr has quit [Ping timeout: 248 seconds]
Kwelstr has joined #stellar-dev