Created
December 2, 2018 01:32
-
-
Save KartikTalwar/241c63988709b1d0bdc42abe98fb74b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Crypto Expansion Pack - Numi.io | |
numi.addUnit({ | |
"id": "wei", | |
"phrases": "wei, Wei", | |
"baseUnitId": "ETH", | |
"format": "Wei", | |
"ratio": 1e-18, | |
}); | |
numi.addUnit({ | |
"id": "gwei", | |
"phrases": "nanoether, Nanoether, shannon, Shannon, nano, Nano, gwei, Gwei", | |
"baseUnitId": "ETH", | |
"format": "Gwei", | |
"ratio": 1e-9, | |
}); | |
numi.addUnit({ | |
"id": "kwei", | |
"phrases": "babbage, Babbage, kwei, Kwei", | |
"baseUnitId": "ETH", | |
"format": "Kwei", | |
"ratio": 1e-15, | |
}); | |
numi.addUnit({ | |
"id": "mwei", | |
"phrases": "lovelace, Lovelace, mwei, Mwei", | |
"baseUnitId": "ETH", | |
"format": "Mwei", | |
"ratio": 1e-12, | |
}); | |
numi.addUnit({ | |
"id": "szabo", | |
"phrases": "microether, Microether, szabo, Szabo, micro, Micro", | |
"baseUnitId": "ETH", | |
"format": "Szabo", | |
"ratio": 1e-6, | |
}); | |
numi.addUnit({ | |
"id": "finney", | |
"phrases": "milliether, Milliether, finney, Finney, milli, Milli", | |
"baseUnitId": "ETH", | |
"format": "Finney", | |
"ratio": 1e-3, | |
}); | |
numi.addUnit({ | |
"id": "ether", | |
"phrases": "ether, Ether", | |
"baseUnitId": "ETH", | |
"format": "Ether", | |
"ratio": 1, | |
}); | |
numi.addUnit({ | |
"id": "satoshi", | |
"phrases": "satoshi, satoshis, sato, sat, bit", | |
"baseUnitId": "BTC", | |
"format": "sat", | |
"ratio": 0.00000001, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment