Skip to content

Commit

Permalink
Merge pull request #208 from tryiou/uno
Browse files Browse the repository at this point in the history
Bring support for Uno on xlite.
  • Loading branch information
tryiou authored Dec 7, 2023
2 parents 4522ecf + 350c2cb commit d9aec51
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 15 deletions.
12 changes: 6 additions & 6 deletions bin.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"linux": {
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.13/xlite-daemon-linux64",
"hash": "3b74ccd13fa167e14248322d31e80553370fe297c58309b4192da63787bf0934"
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.14/xlite-daemon-linux64",
"hash": "a37563bf49dbf643378e0231bde5121d4e46d1142738ae7829a0221db814e788"
},
"mac": {
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.13/xlite-daemon-osx64",
"hash": "b24b6b7bc1c3bb868a18456bc783b5dec9a24ef7a60fbed2c64c99331ee1e323"
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.14/xlite-daemon-osx64",
"hash": "227a487d5fee74a6495743437dac496ce01a7f2a9f1c79d8a0650e927ea9b063"
},
"win": {
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.13/xlite-daemon-win64.exe",
"hash": "5b4a0713dfcbd903cefe400b5e38898b9c14f4c69a7a270bbb654de3a85c4189"
"url": "https://github.com/blocknetdx/xlite-daemon/releases/download/v0.5.14/xlite-daemon-win64.exe",
"hash": "18a1d00d1c0885f1506a826462f840dc043f89eb6d64523f0c370f1900e774e0"
}
}
17 changes: 17 additions & 0 deletions blockchain-configuration-files/manifest-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
],
"xbridge_conf": "syscoin--v4.0.3.conf",
"wallet_conf": "syscoin--v4.0.3.conf"
},
{
"blockchain": "Unobtanium",
"ticker": "UNO",
"ver_id": "unobtanium--v0.11.0",
"ver_name": "Unobtanium",
"conf_name": "unobtanium.conf",
"dir_name_linux": "unobtanium",
"dir_name_mac": "Unobtanium",
"dir_name_win": "Unobtanium",
"repo_url": "https://github.com/unobtanium-official/Unobtanium",
"versions": [
"v0.11.0",
"v0.11.5"
],
"xbridge_conf": "unobtanium--v0.11.0.conf",
"wallet_conf": "unobtanium--v0.11.0.conf"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[UNO]
Title=Unobtanium
Address=
Ip=127.0.0.1
Port=65111
Username=
Password=
AddressPrefix=130
ScriptPrefix=30
SecretPrefix=224
COIN=100000000
MinimumAmount=0
TxVersion=1
DustAmount=0
CreateTxMethod=BTC
GetNewKeySupported=true
ImportWithNoScanSupported=true
MinTxFee=1000
BlockTime=180
FeePerByte=3
Confirmations=0
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"copy-static-files": "node ./build-scripts/copy-files.js",
"watch-static-files": "nodemon -w src -i app/* -i scss/* -e html,css,scss,js,ttf,ico,jpg,png,svg -x \"npm run copy-static-files\"",
"clear-build-directory": "node ./build-scripts/clear-build-dir.js",
"build-native": "npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --production && cd .. && electron-builder --dir",
"build-native-win": "npm run build && node ./native-build-scripts/01-copy-files.js win && cd temp && npm install --no-audit --production && cd .. && electron-builder --dir --x64 --win nsis zip --publish never",
"build-native-mac": "npm run build && node ./native-build-scripts/01-copy-files.js mac && cd temp && npm install --no-audit --production && cd .. && electron-builder --dir --x64 --mac dmg zip --publish never",
"build-native-linux": "npm run build && node ./native-build-scripts/01-copy-files.js linux && cd temp && npm install --no-audit --production && cd .. && electron-builder --dir --x64 --linux appImage deb tar.gz --publish never",
"publish-native-win": "cross-env NODE_ENV=production npm run download-binaries-win && npm run build && node ./native-build-scripts/01-copy-files.js win && cd temp && npm install --no-audit --production && cd .. && electron-builder --win --publish always",
"publish-native-mac": "cross-env NODE_ENV=production npm run download-binaries-mac && npm run build && node ./native-build-scripts/01-copy-files.js mac && cd temp && npm install --no-audit --production && cd .. && electron-builder --publish always",
"publish-native-linux": "cross-env NODE_ENV=production npm run download-binaries-linux && npm run build && node ./native-build-scripts/01-copy-files.js linux && cd temp && npm install --no-audit --production && cd .. && electron-builder --publish always",
"pack-native": "cross-env NODE_ENV=production npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --production && cd .. && electron-builder",
"publish-native": "cross-env NODE_ENV=production npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --production && cd .. && electron-builder --publish always",
"build-native": "npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --omit=dev && cd .. && electron-builder --dir",
"build-native-win": "npm run build && node ./native-build-scripts/01-copy-files.js win && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --dir --x64 --win nsis zip --publish never",
"build-native-mac": "npm run build && node ./native-build-scripts/01-copy-files.js mac && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --dir --x64 --mac dmg zip --publish never",
"build-native-linux": "npm run build && node ./native-build-scripts/01-copy-files.js linux && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --dir --x64 --linux appImage deb tar.gz --publish never",
"publish-native-win": "cross-env NODE_ENV=production npm run download-binaries-win && npm run build && node ./native-build-scripts/01-copy-files.js win && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --win --publish always",
"publish-native-mac": "cross-env NODE_ENV=production npm run download-binaries-mac && npm run build && node ./native-build-scripts/01-copy-files.js mac && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --publish always",
"publish-native-linux": "cross-env NODE_ENV=production npm run download-binaries-linux && npm run build && node ./native-build-scripts/01-copy-files.js linux && cd temp && npm install --no-audit --omit=dev && cd .. && electron-builder --publish always",
"pack-native": "cross-env NODE_ENV=production npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --omit=dev && cd .. && electron-builder",
"publish-native": "cross-env NODE_ENV=production npm run build && node ./native-build-scripts/01-copy-files.js && cd temp && npm install --omit=dev && cd .. && electron-builder --publish always",
"download-binaries": "npm run download-binaries-win && npm run download-binaries-linux && npm run download-binaries-mac",
"download-binaries-win": "node ./native-build-scripts/02-download-binaries.js win",
"download-binaries-linux": "node ./native-build-scripts/02-download-binaries.js linux",
Expand Down
3 changes: 3 additions & 0 deletions src/app/components/shared/asset-piechart.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ export const chartColorForTicker = (ticker) => {
return '#384182';
case 'SYS':
return '#0089CF';
case 'UNO':
return '#8DC351';
default:
return '#666';
}
Expand All @@ -346,6 +348,7 @@ const data = [
new AssetPieChartData('PIVX', 'Pivx', 'USD', 3000, chartColorForTicker('PIVX')),
new AssetPieChartData('RVN', 'Ravencoin', 'USD', 3000, chartColorForTicker('RVN')),
new AssetPieChartData('SYS', 'Syscoin', 'USD', 3000, chartColorForTicker('SYS')),
new AssetPieChartData('UNO', 'Unobtanium', 'USD', 3000, chartColorForTicker('UNO')),
];
export const chartSampleData = data;

Expand Down
Binary file added src/static/images/coins/icon-uno.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/coins/icon-uno@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions static-data/coin-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,12 @@
"website": "http://www.pivx.org/",
"explorer": "https://zkbitcoin.com/",
"explorerTx": "http://zkbitcoin.com/tx/{{tx}}"
},
{
"ticker": "UNO",
"name": "Unobtanium",
"website": "https://www.unobtanium.uno/",
"explorer": "https://chainz.cryptoid.info/uno/",
"explorerTx": "https://chainz.cryptoid.info/uno/tx.dws?{{tx}}.htm"
}
]

0 comments on commit d9aec51

Please sign in to comment.