cipher-ethereum
Version:
An Ethereum library used by Cipher Browser, a mobile Ethereum client
29 lines (28 loc) • 432 B
text/typescript
export const denominations = {
wei: 1,
kwei: 1e3,
Kwei: 1e3,
babbage: 1e3,
femtoether: 1e3,
mwei: 1e6,
Mwei: 1e6,
lovelace: 1e6,
picoether: 1e6,
gwei: 1e9,
Gwei: 1e9,
shannon: 1e9,
nanoether: 1e9,
nano: 1e9,
szabo: 1e12,
microether: 1e12,
micro: 1e12,
finney: 1e15,
milliether: 1e15,
milli: 1e15,
ether: 1e18,
kether: 1e21,
grand: 1e21,
mether: 1e24,
gether: 1e27,
tether: 1e30
}