diff --git a/common/defs/bitcoin/omotenashicoin.json b/common/defs/bitcoin/omotenashicoin.json new file mode 100644 index 000000000..4e0025253 --- /dev/null +++ b/common/defs/bitcoin/omotenashicoin.json @@ -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 ", + "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 +} diff --git a/common/defs/bitcoin/omotenashicoin.png b/common/defs/bitcoin/omotenashicoin.png new file mode 100644 index 000000000..ac8eee7b0 Binary files /dev/null and b/common/defs/bitcoin/omotenashicoin.png differ diff --git a/common/defs/coins_details.json b/common/defs/coins_details.json index 8bef74f80..7a843f9e1 100644 --- a/common/defs/coins_details.json +++ b/common/defs/coins_details.json @@ -29707,4 +29707,4 @@ "updated_at": 1564140094, "updated_at_readable": "Fri Jul 26 13:21:34 2019" } -} \ No newline at end of file +} diff --git a/common/defs/support.json b/common/defs/support.json index 509a094bc..55623ce58 100644 --- a/common/defs/support.json +++ b/common/defs/support.json @@ -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", diff --git a/core/src/apps/common/coininfo.py b/core/src/apps/common/coininfo.py index 08e8f72d3..5394ff8d5 100644 --- a/core/src/apps/common/coininfo.py +++ b/core/src/apps/common/coininfo.py @@ -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,