Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Add Syscoin support #153

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/common/src/data/mock-entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ const mockCurrencies: CurrencyEntity[] = [
magnitude: 8
}
]
},
{
name: "syscoin",
family: "Syscoin",
color: "#008dd1",
units: [
{
name: "Syscoin",
code: "SYS",
symbol: "SYS",
magnitude: 8
}
]
}
];

Expand Down
1 change: 1 addition & 0 deletions packages/currencies/src/coinTypeToIconName.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default {
"79": "clubcoin",
"5": "dash",
"42": "decred",
"57": "syscoin",
"20": "digibyte",
"3": "dogecoin",
"61": "ethereumClassic",
Expand Down
29 changes: 29 additions & 0 deletions packages/currencies/src/data/cryptocurrencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,35 @@ const cryptocurrenciesArray: Currency[] = [
}
]
},
{
coinType: 57,
name: "Syscoin",
ticker: "SYS",
scheme: "syscoin",
apiName: "sys",
color: "#008dd1",
xpub: 0x0488B21E,
isSegwitSupported: false,
handleFeePerByte: false,
areTransactionTimestamped: false,
bitcoinjs: {
messagePrefix: "Syscoin Signed Message:",
bip32: {
private: 76066276,
public: 76067358
},
pubKeyHash: 63,
scriptHash: 5,
wif: 128
},
units: [
{
name: "syscoin",
code: "SYS",
magnitude: 8
}
]
},
{
coinType: 105,
name: "Stratis",
Expand Down
53 changes: 53 additions & 0 deletions packages/currencies/src/data/icons/svg/syscoin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.