mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-22 00:52:32 +03:00
ba826da8fd
* Re-add CAT sending to send CLI * Fix missing memo param * Address comments by @altendky * mypy
10 lines
293 B
Python
10 lines
293 B
Python
from typing import Dict
|
|
|
|
# The rest of the codebase uses mojos everywhere.
|
|
# Only use these units for user facing interfaces.
|
|
units: Dict[str, int] = {
|
|
"chia": 10 ** 12, # 1 chia (XCH) is 1,000,000,000,000 mojo (1 trillion)
|
|
"mojo": 1,
|
|
"cat": 10 ** 3, # 1 CAT is 1000 CAT mojos
|
|
}
|