Skip to content

Commit

Permalink
Merge pull request #3 from zachchan105/master
Browse files Browse the repository at this point in the history
Add Telestai Information
  • Loading branch information
michaelmcshinsky authored Nov 25, 2024
2 parents 7dce7a4 + e8a5e47 commit 97bb472
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |
Expand Down
11 changes: 11 additions & 0 deletions src/chains/telestai/base.ts
Original file line number Diff line number Diff line change
@@ -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,
};
7 changes: 7 additions & 0 deletions src/chains/telestai/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Networks } from '../../types/base';
import { mainnet } from './mainnet';
//import { testnet } from './testnet';

export const mewc: Networks = {
mainnet,
};
32 changes: 32 additions & 0 deletions src/chains/telestai/mainnet.ts
Original file line number Diff line number Diff line change
@@ -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,

Check failure on line 30 in src/chains/telestai/mainnet.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and ubuntu-latest

Replace `F` with `f`

Check failure on line 30 in src/chains/telestai/mainnet.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and macOS-latest

Replace `F` with `f`
},
};
1 change: 1 addition & 0 deletions src/types/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export type Algorithm =
| 'lbry'
| 'lyra2re'
| 'lyra2z'
| 'meraki'
| 'meowpow'
| 'minotaur'
| 'minotaurx'
Expand Down

0 comments on commit 97bb472

Please sign in to comment.