<stellar-slack>
<sacarlson> is the public_key for all the accounts available someplace on the stellar-core db?
<stellar-slack>
<sacarlson> or can it be derived in some way from the account number?
<stellar-slack>
<dzham> I thought they were the same in stellar-core?
<stellar-slack>
<dzham> modulo some content-encoding
<stellar-slack>
<sacarlson> I don't see it anyplace so that's another thing in the infrastructure of multi signing that the group has to all share there public keys before the multi-sig account is even created
<stellar-slack>
<dzham> what do you need the pubkeys for?
<stellar-slack>
<sacarlson> the public key is used when the master creator creates the account and adds the signers he needs the public key for each he adds and at that point selects what weight he puts on that key
<stellar-slack>
<dzham> oh, really? I use addresses for that, with the javascript library
<stellar-slack>
<sacarlson> you can use a keypair set that has the pubkey in it but you don't share the set when you setup with groups. you don't share the secret parts just the public part
<stellar-slack>
<sacarlson> I added the function add_signer_public_key(account, key, weight) to my lib to allow this
<stellar-slack>
<sacarlson> and this to get your public key from your pair I also added get_public_key(keypair)
de_henne_ has joined #stellar-dev
<stellar-slack>
<monsieurnicolas> in stellar-core public keys and account IDs are the same. so if you know the parties, you know the keys
<stellar-slack>
<sacarlson> ID being that address?
de_henne has quit [Ping timeout: 264 seconds]
<stellar-slack>
<sacarlson> that would make sence cool I'll try it to verify
pixelbeat has quit [Ping timeout: 240 seconds]
<stellar-slack>
<sacarlson> so I guess I could setup a simple web interface or ruby gui to create multi-sig account that would look like this:
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<stellar-slack>
<sacarlson> I should make a higher level ruby function that you just feed all that to create it
<stellar-slack>
<sacarlson> but buhrmi is the website guy so you want it?
<stellar-slack>
<buhrmi> sure you can submit a ticket on github ^^
<stellar-slack>
<sacarlson> good idea
<stellar-slack>
<sacarlson> oh I played a bit on your site today also looks good
<stellar-slack>
<sacarlson> it's not an issuer it a wanted added feature so would that be under PR buhrmi ?
<stellar-slack>
<buhrmi> on github, feature requests go under "issues". and then somebody can submit a PR to resolve that feature
<stellar-slack>
<sacarlson> I'm not totaly sure but I guess only the master on the multi-sig account can create a transaction on that account? not any or all of the signers?
<stellar-slack>
<dzham> any of the signers
<stellar-slack>
<sacarlson> but I guess after the creation of the account the master seed could be distributed to the group of signers so that any could create transactions but all would be required to withdraw the assets for said tx
<stellar-slack>
<sacarlson> oh any can create it?
<stellar-slack>
<dzham> yeah, I mean, you can even set the weight of the master to zero, and then he can’t do anything
<stellar-slack>
<sacarlson> yes I understand you can make the master do nothing but I'm not sure how to setup to have a signer create a tx on the masters account
<stellar-slack>
<sacarlson> but I think your right
<stellar-slack>
<dzham> loadAccount, create a transactionBuilder, start adding operations to it, then you sign it.
<stellar-slack>
<sacarlson> yes in the builder as I think it requires the pair for the master but I can create a pair that has no seed so that might still work
[7] has quit [Disconnected by services]
<stellar-slack>
<sacarlson> I'll try it
TheSeven has joined #stellar-dev
<stellar-slack>
<buhrmi> you cant sign something with a keypair that has been created without the secret
<stellar-slack>
<sacarlson> the signing is done after the tx creation at the envelope stage
<stellar-slack>
<sacarlson> that can be done by another in the group of signers so we therorize
<stellar-slack>
<buhrmi> ah, yeah
<stellar-slack>
<sacarlson> I'm writing another paper on how to setup a website interface for multi-sig tx creator
<stellar-slack>
<sacarlson> as that would be the next step in multi-sig experiments
kushed_AFK is now known as kushed
<stellar-slack>
<buhrmi> got the feature request
<stellar-slack>
<buhrmi> i kinda "get it" ... just takes work
<stellar-slack>
<buhrmi> not that much time this weekend
<stellar-slack>
<buhrmi> is there a way to generate address/seed strings in the same string format as stellar-core -genseed ? using the js lib? @bartek
<stellar-slack>
<sacarlson> you can do it in ruby
de_henne_ has quit [Remote host closed the connection]
<stellar-slack>
<buhrmi> nice one
<stellar-slack>
<sacarlson> what have you been using?
de_henne has joined #stellar-dev
<stellar-slack>
<buhrmi> the command line
<stellar-slack>
<buhrmi> WDYT?
<stellar-slack>
<sacarlson> I'll have to check it out. but you all you've done with stellar-core is on the command line? plus postgres
<stellar-slack>
<buhrmi> ah, no... i'm using the web ui I'm building
<stellar-slack>
<buhrmi> so, javascript
<stellar-slack>
<sacarlson> but no stellar-base at all?
<stellar-slack>
<buhrmi> only stellar-base
<stellar-slack>
<buhrmi> js-stellar-base
<stellar-slack>
<sacarlson> oh well that's java script then
<stellar-slack>
<buhrmi> yeah
<stellar-slack>
<sacarlson> you can do most anything with just stellar-base
<stellar-slack>
<sacarlson> I added a few transactions on your site
<stellar-slack>
<sacarlson> it took about 20 secounds for the first page to apear for me
<stellar-slack>
<sacarlson> I'm looking at setup of a server that is just json in json out to setup multi-sig transactions
<stellar-slack>
<sacarlson> that's what's going to be required for my p2p poker until we figure out some p2p method protocal for stellar multi-sig transactions. so not fully p2p but it's a start
<stellar-slack>
<buhrmi> lol you are sending trust tx with my address as the issuer of CHP
<stellar-slack>
<buhrmi> i'm not issuing CHP ...
<stellar-slack>
<sacarlson> oh I thought I used myself as the issuer and you were who I was sending the chp to
<stellar-slack>
<sacarlson> but I guess you are now ha ha
<stellar-slack>
<buhrmi> you should remove the trustlines
<stellar-slack>
<sacarlson> I don't see any method to remove trustlines