From f927d6882792754af20af4c29f6e4013ea209890 Mon Sep 17 00:00:00 2001 From: ZachPrice Date: Thu, 7 Nov 2024 21:12:40 -0800 Subject: [PATCH 1/3] add meraki pow algo --- src/types/base.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/base.ts b/src/types/base.ts index da8e2a0..3858f5a 100644 --- a/src/types/base.ts +++ b/src/types/base.ts @@ -112,6 +112,7 @@ export type Algorithm = | 'lbry' | 'lyra2re' | 'lyra2z' + | 'meraki' | 'meowpow' | 'minotaur' | 'minotaurx' From c9f3759492e3435d12a878d9cca3f21b28a3a1c7 Mon Sep 17 00:00:00 2001 From: ZachPrice Date: Thu, 7 Nov 2024 21:13:07 -0800 Subject: [PATCH 2/3] Add Telestai to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c7f0ff4..0b98450 100644 --- a/README.md +++ b/README.md @@ -1128,6 +1128,7 @@ If you're interested in contributing, please read the [contributing docs](https: | BTA | Btachain | | | BCX | BitcoinX | | | MEWC | [Meowcoin](https://github.com/hyperbit-dev/chains/blob/master/src/chains/meowcoin) | Yes | +| TLS | Telestai | | | XTZ | Tezos | | | LBTC | Liquid BTC | | | BBP | Biblepay | | From e8a5e474ca026f5cfb540e536b9d98dc6ba26484 Mon Sep 17 00:00:00 2001 From: ZachPrice Date: Thu, 7 Nov 2024 21:16:59 -0800 Subject: [PATCH 3/3] add mainnet telestai info --- src/chains/telestai/base.ts | 11 +++++++++++ src/chains/telestai/index.ts | 7 +++++++ src/chains/telestai/mainnet.ts | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 src/chains/telestai/base.ts create mode 100644 src/chains/telestai/index.ts create mode 100644 src/chains/telestai/mainnet.ts diff --git a/src/chains/telestai/base.ts b/src/chains/telestai/base.ts new file mode 100644 index 0000000..f755a14 --- /dev/null +++ b/src/chains/telestai/base.ts @@ -0,0 +1,11 @@ +import { Common } from '../../types/base'; + +export const common: Common = { + name: 'Telestai', + unit: 'TLS', + symbol: 'tls', + decimalPlaces: 1e8, + messagePrefix: 'Telestai Signed Message:\n', + algorithm: 'meraki', + confirmations: 6, +}; diff --git a/src/chains/telestai/index.ts b/src/chains/telestai/index.ts new file mode 100644 index 0000000..2e245cf --- /dev/null +++ b/src/chains/telestai/index.ts @@ -0,0 +1,7 @@ +import { Networks } from '../../types/base'; +import { mainnet } from './mainnet'; +//import { testnet } from './testnet'; + +export const mewc: Networks = { + mainnet, +}; diff --git a/src/chains/telestai/mainnet.ts b/src/chains/telestai/mainnet.ts new file mode 100644 index 0000000..fc504ef --- /dev/null +++ b/src/chains/telestai/mainnet.ts @@ -0,0 +1,32 @@ +import { MainNet } from '../../types/base'; +import { common } from './base'; + +export const mainnet: MainNet = { + ...common, + //Not sure what ID is + id: 'XXXXXX-XXXX-XXXX-XXXXX-99E65A61EB5F', + network: 'mainnet', + hashGenesisBlock: + '0x00000056b9854abf830236d77443a8e3556f0244265e3eb12281a7bc43b7ff57', + port: 8767, + portRpc: 8766, + protocol: { + magic: 0x454c4554, + }, + seedsDns: ['45.79.159.32'], + versions: { + // https://en.bitcoin.it/wiki/BIP_0032 + bip32: { + private: 0x0488ade4, + public: 0x0488b21e, + }, + + bip44: 10117, + + private: 0x80, + + public: 0x42, + + scripthash: 0x7F, + }, +};