You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importKeyringfrom`@entropyxyz/sdk/keys`import{generateMnemomnic,mnemomnicToSeed}from`@entropyxyz/sdk/keys`constmnemomnic=generateMnemomnic()constseed=mnemomnicToSeed(mnemomnic)// this of course is an optional key the case here is that a user would like to also load a key they used to deploy programsconstdev=mnemomnicToSeed(mnemomnic,'my/dev/path')constkeyMaterials={programMod: seed,//or private key
dev,}constkeyring=newKeyring(keyMaterials)constkeyStore=keyring.json()/*needs more thoughts:{programMod: '0x0123...' //private key? seed?dev: '0x345...' // private key? seed?device: '0x789...' // private key? seed?}const keyring2 = new Keyring(keyStore)*/
init
should take all "3" seeds but only requires programMod i'm still stuck on this name i'd prefer not to call it it the program mod sense it's not that till we register it
are curent way of thinking is to have an admin key and registration key
the key that pays for registartion and the key that gets set as the programMod
they can be one in the same (infact they are right now)
however they can also be different. In my personal case i would want them to be different
i think also for "sponsorship" reason we should allow them to be different
Open questions:
should you be able to set a different keyring to an already initialized entropy?
entropy.setKeyring(Keyring)
The text was updated successfully, but these errors were encountered:
@entropyxyz/sdk/keys
init
should take all "3" seeds but only requires
programMod
i'm still stuck on this name i'd prefer not to call it it the program mod sense it's not that till we register itare curent way of thinking is to have an admin key and registration key
the key that pays for registartion and the key that gets set as the programMod
they can be one in the same (infact they are right now)
however they can also be different. In my personal case i would want them to be different
i think also for "sponsorship" reason we should allow them to be different
Open questions:
The text was updated successfully, but these errors were encountered: