mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-16 03:28:09 +00:00
14 lines
327 B
Python
Executable File
14 lines
327 B
Python
Executable File
from trezor import wire
|
|
from trezor.messages import MessageType
|
|
|
|
from apps.common import HARDENED
|
|
|
|
CURVE = "secp256k1"
|
|
|
|
|
|
def boot() -> None:
|
|
ns = [[CURVE, HARDENED | 44, HARDENED | 194]]
|
|
|
|
wire.add(MessageType.EosGetPublicKey, __name__, "get_public_key", ns)
|
|
wire.add(MessageType.EosSignTx, __name__, "sign_tx", ns)
|