mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
common/defs: enable MTNS (#415)
This commit is contained in:
parent
1d6ea33ec6
commit
1bb77b81c0
45
common/defs/bitcoin/omotenashicoin.json
Normal file
45
common/defs/bitcoin/omotenashicoin.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"coin_name": "OmotenashiCoin",
|
||||
"coin_shortcut": "MTNS",
|
||||
"coin_label": "OmotenashiCoin",
|
||||
"website": "https://www.omotenashicoin.site",
|
||||
"github": "https://github.com/omotenashicoin-project/OmotenashiCoin",
|
||||
"maintainer": "nakkie <git@omotenashiocin.site>",
|
||||
"curve_name": "secp256k1",
|
||||
"address_type": 63,
|
||||
"address_type_p2sh": 18,
|
||||
"maxfee_kb": 100000,
|
||||
"minfee_kb": 100,
|
||||
"signed_message_header": "MtnsNet Signed Message:\n",
|
||||
"hash_genesis_block": "00000e04317329056e236da90ebbd1cafacf2cbe1337509231289677cec3f192",
|
||||
"xprv_magic": 61052378,
|
||||
"xpub_magic": 61052245,
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 341,
|
||||
"segwit": false,
|
||||
"decred": false,
|
||||
"fork_id": null,
|
||||
"force_bip143": false,
|
||||
"bip115": false,
|
||||
"default_fee_b": {
|
||||
"Normal": 10
|
||||
},
|
||||
"dust_limit": 546,
|
||||
"blocktime_seconds": 90,
|
||||
"uri_prefix": "omotenashicoin",
|
||||
"min_address_length": 27,
|
||||
"max_address_length": 34,
|
||||
"bitcore": [
|
||||
"https://mtns.hashexplorer.net:8015"
|
||||
],
|
||||
"blockbook": [
|
||||
"https://mtns.hashexplorer.net"
|
||||
],
|
||||
"negative_fee": false,
|
||||
"cooldown": 100,
|
||||
"consensus_branch_id": null,
|
||||
"confidential_assets": null
|
||||
}
|
BIN
common/defs/bitcoin/omotenashicoin.png
Normal file
BIN
common/defs/bitcoin/omotenashicoin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@ -29707,4 +29707,4 @@
|
||||
"updated_at": 1564140094,
|
||||
"updated_at_readable": "Fri Jul 26 13:21:34 2019"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -154,6 +154,7 @@
|
||||
"bitcoin:ZEC": "1.7.1",
|
||||
"bitcoin:ZEL": "1.8.3",
|
||||
"bitcoin:ZNY": "1.8.2",
|
||||
"bitcoin:MTNS": "1.8.3",
|
||||
"bitcoin:tDASH": "1.6.2",
|
||||
"bitcoin:tGRS": "1.6.2",
|
||||
"bitcoin:tLTC": "1.6.2",
|
||||
@ -1514,6 +1515,7 @@
|
||||
"bitcoin:ZEL": "2.1.4",
|
||||
"bitcoin:ZEN": "2.0.8",
|
||||
"bitcoin:ZNY": "2.1.1",
|
||||
"bitcoin:MTNS": "2.1.5",
|
||||
"bitcoin:tDASH": "2.0.8",
|
||||
"bitcoin:tGRS": "2.0.8",
|
||||
"bitcoin:tLTC": "2.0.7",
|
||||
|
@ -1158,6 +1158,29 @@ def by_name(name: str) -> CoinInfo:
|
||||
curve_name='secp256k1',
|
||||
confidential_assets=None,
|
||||
)
|
||||
elif name == "OmotenashiCoin":
|
||||
return CoinInfo(
|
||||
coin_name=name,
|
||||
coin_shortcut="MTNS",
|
||||
address_type=63,
|
||||
address_type_p2sh=18,
|
||||
maxfee_kb=100000,
|
||||
signed_message_header="MtnsNet Signed Message:\n",
|
||||
xpub_magic=0x03a39555,
|
||||
xpub_magic_segwit_p2sh=None,
|
||||
xpub_magic_segwit_native=None,
|
||||
bech32_prefix=None,
|
||||
cashaddr_prefix=None,
|
||||
slip44=341,
|
||||
segwit=False,
|
||||
fork_id=None,
|
||||
force_bip143=False,
|
||||
bip115=False,
|
||||
decred=False,
|
||||
negative_fee=False,
|
||||
curve_name='secp256k1',
|
||||
confidential_assets=None,
|
||||
)
|
||||
elif name == "PIVX":
|
||||
return CoinInfo(
|
||||
coin_name=name,
|
||||
|
Loading…
Reference in New Issue
Block a user