├── .github ├── workflows │ └── update-readme.yml ├── mkcap_sort.py └── gen_readme.py ├── LICENSE ├── README.md └── symbols.json /.github/workflows/update-readme.yml: -------------------------------------------------------------------------------- 1 | name: Generate README 2 | on: [push, pull_request] 3 | jobs: 4 | Generate-Readme: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - uses: actions/checkout@v2 8 | - name: setup python 9 | uses: actions/setup-python@v2 10 | with: 11 | python-version: 3.8 12 | - name: gen_readme.py 13 | run: | 14 | python .github/gen_readme.py 15 | - uses: stefanzweifel/git-auto-commit-action@v4 16 | with: 17 | commit_message: Generate README from symbols.json 18 | 19 | -------------------------------------------------------------------------------- /.github/mkcap_sort.py: -------------------------------------------------------------------------------- 1 | import requests 2 | import json 3 | 4 | 5 | def main(): 6 | """ 7 | Sorts symbols.json by (market_cap_if_in_top_250, alphabetically) 8 | """ 9 | symbols = json.load(open("symbols.json", "r")) 10 | coins = requests.get("https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&per_page=250").json() 11 | sym_to_index = {c['symbol'].upper(): c['market_cap_rank'] for c in coins} 12 | sorted_symbols = sorted(symbols, key=lambda s: (sym_to_index.get(s['symbol'], 999), s['name'])) 13 | json.dump(sorted_symbols, open("symbols.json", "w"), indent=4, ensure_ascii=False) 14 | 15 | 16 | if __name__ == '__main__': 17 | main() 18 | -------------------------------------------------------------------------------- /.github/gen_readme.py: -------------------------------------------------------------------------------- 1 | import json 2 | 3 | 4 | def gen_readme(symbols): 5 | rows = [f"| {s['name']} | {s['gecko']} | {s['symbol']} | {s['usym']} |" for s in symbols] 6 | return """ 7 | # Crypto Currency Symbols 8 | 9 | > DO NOT EDIT. THIS README IS AUTO GENERATED FROM [symbols.json](symbols.json). 10 | 11 | Unicode symbols for different crypto tokens. 12 | 13 | * Collected for a MacOS [ticker app](http://yoni.ninja/cointick) 14 | * **Not official in any way** 15 | * Feel free to PR / create issues with suggestions 16 | 17 | | Name | CoinGecko id | Symbol | Unicode Symbol | 18 | |------|:------------:|:------:|:--------------:| 19 | """ + "\n".join(rows) 20 | 21 | 22 | def main(): 23 | print("Generating README from symbols.json...") 24 | symbols = json.load(open("symbols.json", "r")) 25 | with open("README.md", "w") as f: 26 | f.write(gen_readme(symbols)) 27 | 28 | 29 | if __name__ == '__main__': 30 | main() 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Crypto Currency Symbols 3 | 4 | > DO NOT EDIT. THIS README IS AUTO GENERATED FROM [symbols.json](symbols.json). 5 | 6 | Unicode symbols for different crypto tokens. 7 | 8 | * Collected for a MacOS [ticker app](http://yoni.ninja/cointick) 9 | * **Not official in any way** 10 | * Feel free to PR / create issues with suggestions 11 | 12 | | Name | CoinGecko id | Symbol | Unicode Symbol | 13 | |------|:------------:|:------:|:--------------:| 14 | | Bitcoin | bitcoin | BTC | ₿ | 15 | | Ethereum | ethereum | ETH | Ξ | 16 | | Tether | tether | USDT | ₮ | 17 | | Cardano | cardano | ADA | ₳ | 18 | | XRP | ripple | XRP | ✕ | 19 | | Solana | solana | SOL | ◎ | 20 | | Polkadot | polkadot | DOT | ● | 21 | | Dogecoin | dogecoin | DOGE | Ð | 22 | | Dai | dai | DAI | ◈ | 23 | | Litecoin | litecoin | LTC | Ł | 24 | | Algorand | algorand | ALGO | Ⱥ | 25 | | Bitcoin Cash | bitcoin-cash | BCH | Ƀ | 26 | | Pepe | pepe | PEPE | 🐸︎ | 27 | | ECOMI | ecomi | OMI | Ο | 28 | | Internet Computer | internet-computer | ICP | ∞ | 29 | | Ethereum Classic | ethereum-classic | ETC | ξ | 30 | | Monero | monero | XMR | ɱ | 31 | | Filecoin | filecoin | FIL | ⨎ | 32 | | Tezos | tezos | XTZ | ꜩ | 33 | | Iota | iota | MIOTA | ɨ | 34 | | EOS | eos | EOS | ε | 35 | | Bitcoin SV | bitcoin-cash-sv | BSV | Ɓ | 36 | | Maker | maker | MKR | Μ | 37 | | Zcash | zcash | ZEC | ⓩ | 38 | | Dash | dash | DASH | Đ | 39 | | Nano | nano | XNO | Ӿ | 40 | | Augur | augur | REP | Ɍ | 41 | | Steem | steem | STEEM | ȿ | -------------------------------------------------------------------------------- /symbols.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Bitcoin", 4 | "symbol": "BTC", 5 | "usym": "₿", 6 | "gecko": "bitcoin" 7 | }, 8 | { 9 | "name": "Ethereum", 10 | "symbol": "ETH", 11 | "usym": "Ξ", 12 | "gecko": "ethereum" 13 | }, 14 | { 15 | "name": "Tether", 16 | "symbol": "USDT", 17 | "usym": "₮", 18 | "gecko": "tether" 19 | }, 20 | { 21 | "name": "Cardano", 22 | "symbol": "ADA", 23 | "usym": "₳", 24 | "gecko": "cardano" 25 | }, 26 | { 27 | "name": "XRP", 28 | "symbol": "XRP", 29 | "usym": "✕", 30 | "gecko": "ripple" 31 | }, 32 | { 33 | "name": "Solana", 34 | "symbol": "SOL", 35 | "usym": "◎", 36 | "gecko": "solana" 37 | }, 38 | { 39 | "name": "Polkadot", 40 | "symbol": "DOT", 41 | "usym": "●", 42 | "gecko": "polkadot" 43 | }, 44 | { 45 | "name": "Dogecoin", 46 | "symbol": "DOGE", 47 | "usym": "Ð", 48 | "gecko": "dogecoin" 49 | }, 50 | { 51 | "name": "Dai", 52 | "symbol": "DAI", 53 | "usym": "◈", 54 | "gecko": "dai" 55 | }, 56 | { 57 | "name": "Litecoin", 58 | "symbol": "LTC", 59 | "usym": "Ł", 60 | "gecko": "litecoin" 61 | }, 62 | { 63 | "name": "Algorand", 64 | "symbol": "ALGO", 65 | "usym": "Ⱥ", 66 | "gecko": "algorand" 67 | }, 68 | { 69 | "name": "Bitcoin Cash", 70 | "symbol": "BCH", 71 | "usym": "Ƀ", 72 | "gecko": "bitcoin-cash" 73 | }, 74 | { 75 | "name": "Pepe", 76 | "symbol": "PEPE", 77 | "usym": "🐸︎", 78 | "gecko": "pepe" 79 | }, 80 | { 81 | "name": "ECOMI", 82 | "symbol": "OMI", 83 | "usym": "Ο", 84 | "gecko": "ecomi" 85 | }, 86 | { 87 | "name": "Internet Computer", 88 | "symbol": "ICP", 89 | "usym": "∞", 90 | "gecko": "internet-computer" 91 | }, 92 | { 93 | "name": "Ethereum Classic", 94 | "symbol": "ETC", 95 | "usym": "ξ", 96 | "gecko": "ethereum-classic" 97 | }, 98 | { 99 | "name": "Monero", 100 | "symbol": "XMR", 101 | "usym": "ɱ", 102 | "gecko": "monero" 103 | }, 104 | { 105 | "name": "Filecoin", 106 | "symbol": "FIL", 107 | "usym": "⨎", 108 | "gecko": "filecoin" 109 | }, 110 | { 111 | "name": "Tezos", 112 | "symbol": "XTZ", 113 | "usym": "ꜩ", 114 | "gecko": "tezos" 115 | }, 116 | { 117 | "name": "Iota", 118 | "symbol": "MIOTA", 119 | "usym": "ɨ", 120 | "gecko": "iota" 121 | }, 122 | { 123 | "name": "EOS", 124 | "symbol": "EOS", 125 | "usym": "ε", 126 | "gecko": "eos" 127 | }, 128 | { 129 | "name": "Bitcoin SV", 130 | "symbol": "BSV", 131 | "usym": "Ɓ", 132 | "gecko": "bitcoin-cash-sv" 133 | }, 134 | { 135 | "name": "Maker", 136 | "symbol": "MKR", 137 | "usym": "Μ", 138 | "gecko": "maker" 139 | }, 140 | { 141 | "name": "Zcash", 142 | "symbol": "ZEC", 143 | "usym": "ⓩ", 144 | "gecko": "zcash" 145 | }, 146 | { 147 | "name": "Dash", 148 | "symbol": "DASH", 149 | "usym": "Đ", 150 | "gecko": "dash" 151 | }, 152 | { 153 | "name": "Nano", 154 | "symbol": "XNO", 155 | "usym": "Ӿ", 156 | "gecko": "nano" 157 | }, 158 | { 159 | "name": "Augur", 160 | "symbol": "REP", 161 | "usym": "Ɍ", 162 | "gecko": "augur" 163 | }, 164 | { 165 | "name": "Steem", 166 | "symbol": "STEEM", 167 | "usym": "ȿ", 168 | "gecko": "steem" 169 | } 170 | ] 171 | --------------------------------------------------------------------------------