intergalactic-id
v1.0.0
Published
Provides server side utilities for creating and managing intergalactic identifiers for us in the intergalactic content context
Downloads
8
Maintainers
Readme
intergalactic-id
This module provides servers side utilities for making identifiers determined by intergalactic content.
install
npm install -save intergalactic-id
examples
// add by gen_public_key
info.public_key = keys.pk_str // user info is the basis for creating a user cid the public key is part of it
info.signer_public_key = keys.signer_pk_str
info.axiom_public_key = keys.axiom_pk_str
// resulting packet
id_packet = {
"name": name,
"DOB" : DOB,
"place_of_origin" : place_of_origin,
"cool_public_info" : cool_public_info,
"business" : (business === undefined) ? false : business,
"public_key" : public_key,
"signer_public_key" : signer_public_key,
"axiom_public_key" : axiom_public_key,
"ccwid" : "aksbsdkufhsiufkesh",
"public_component" : {
"name" : "Mr. Jones",
"place_of_origin" : place_of_origin,
"ccwid" : "aksbsdkufhsiufkesh",
"business" : (business === undefined) ? false : business,
"public_key" : public_key,
"signer_public_key" : signer_public_key,
"axiom_public_key" : axiom_public_key
"human_frame_url" : human_frame_url
},
"private" : {
"ccwid" : "aksbsdkufhsiufkesh",
"ucwid" : ucwid,
"private_key" : "soifw09ruwkrw9i",
"biometric" : biometric_blob
}
}