Skip to content

Instantly share code, notes, and snippets.

@hanwencheng
Last active November 29, 2019 22:02
Show Gist options
  • Save hanwencheng/c1916d7d10e7201b8150f56674c1595f to your computer and use it in GitHub Desktop.
Save hanwencheng/c1916d7d10e7201b8150f56674c1595f to your computer and use it in GitHub Desktop.
const networks = [
{
name: 'kusama',
genesisHash: "0xb28bd355a4cd1df46bc56a2949bce8feb84eebc864f1c3f1f77668bd3b6559b3",
prefix: 2,
decimals: 12,
pathID: 'kusama',
title: 'Kusama CC2',
unit: 'KSM',
color: '#e6007a',
protocol: 'substrate'
},
{
color: '#64A2F4',
ethereumChainId: '1',
secondaryColor: colors.card_bgSolid,
title: 'Ethereum Frontier',
protocol: 'ethereum'
}
];
const identities = [
{
encryptedSeed: '{"cipher":"aes-128-ctr","cipherparams":{"iv":e872394210984322432423,"cipherText":"a352dfg3g4245..."}}',
derivationPassword: ''
//NOTICE: meta is a Map Object
meta: {
'//kusma//funding/1': {
name: 'funding account1',
address: "DwGa4E65nbGafaGirjMH5kXbtT7jHuAcSXHLLkTePnqw95p",
createdAt: 1571068850409,
updatedAt: 1571078850509,
},
'//kusma//funding/2': {
address: "EoXsgmP36WXkyCamoC9iHy7Gr2tZpEykz8rmFw3bAS1nArV",
name: 'funding account2',
createdAt: 1571068850409,
updatedAt: 1571078850509,
},
'1': {
name: 'ethereum frontier account',
address: "06Fc73F6797Ed62f46A4E6A13dD9366C5f2725D7",
createdAt: 1571068850409,
updatedAt: 1571078850509,
}
},
//NOTICE: addresses is a Map Object
addresses: {
'DwGa4E65nbGafaGirjMH5kXbtT7jHuAcSXHLLkTePnqw95p': '//kusama//funding/1',
'EoXsgmP36WXkyCamoC9iHy7Gr2tZpEykz8rmFw3bAS1nArV': '//kusama//funding/2',
'ethereum:0x06Fc73F6797Ed62f46A4E6A13dD9366C5f2725D7@42': '1',
}
},
{
encryptedSeed: '{"cipher":"aes-128-ctr","cipherparams":{"iv":f872394210984322432423,"cipherText":"sad12343fdcdxa..."}}',
derivationPassword: ''
//NOTICE: meta is a Map Object
meta: {
'//kusma//funding/1': {
name: 'funding account1',
address: "FJBQ3tv6w3qhYkhKWnxfdjPwhvCd879oUeQKt6u8bHyhqzX",
createdAt: 1571068850409,
updatedAt: 1571078850509,
},
},
//NOTICE: addresses is a Map Object
addresses: {
"FJBQ3tv6w3qhYkhKWnxfdjPwhvCd879oUeQKt6u8bHyhqzX": '//kusama//funding/1',
}
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment