Skip to content

Instantly share code, notes, and snippets.

@kvhnuke
Last active December 12, 2018 02:56
Show Gist options
  • Save kvhnuke/9b725a10b91fbd68c51d447a7b7c1c13 to your computer and use it in GitHub Desktop.
Save kvhnuke/9b725a10b91fbd68c51d447a7b7c1c13 to your computer and use it in GitHub Desktop.
MEWv5 JSON export/import format
{
"timestamp": "2018-12-12T02:39:51.982Z",
"main":{
"customTokens": [{
"name":"MyEtherWallet",
"symbol":"MEW",
"decimals": 18
}],
"customNetworks":[{
"name": "MyEtherWallet API",
"host": "https://api.myetherwallet.com/eth",
"auth":{
"username": "hello",
"password": "world"
},
"networkType": {
"symbol":"ETH",
"chainId": 1
}
}],
"customDerivationPaths":[{
"walletIdentifier": "ledger",
"name":"new path",
"path": "m/44'/60'/0"
}],
"gas":{
"price": "100000000", //only one of these values will be set based on userconfig
"speed": "slow" //slow, medium, fast
}
},
"notifications":[{
"type": "swap", //swap, transaction ...etc
"id": "10ba038e-48da-487b-96e8-8d3b99b6d18a",
"timestamp": "2018-12-12T02:45:51.982Z",
"data":{} //any notification type specific data
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment