Skip to content

Commit

Permalink
update for v5.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jan 7, 2022
1 parent 5a236ef commit 6107d10
Show file tree
Hide file tree
Showing 11 changed files with 392 additions and 33 deletions.
Binary file modified background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 45 additions & 14 deletions coininfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6219,13 +6219,13 @@ const coininfo = {
explorers: [
"https://explorer.chainweb.com",
],
medium: "",
discord: "",
telegram: "",
medium: "https://medium.com/kadena-io",
discord: "https://discord.com/invite/bsUcWmX",
telegram: "https://t.me/kadena_io",
bitcointalk: "",
facebook: "",
twitter: "https://twitter.com/kadena_io",
reddit: "",
reddit: "https://www.reddit.com/r/kadena/",
repository: "",
youtube: "https://www.youtube.com/kadenablockchain",
instagram: "",
Expand Down Expand Up @@ -8247,24 +8247,26 @@ const coininfo = {
explorers: [
"https://explorer.chainweb.com",
],
medium: "",
discord: "",
telegram: "",
medium: "https://medium.com/kadena-io",
discord: "https://discord.com/invite/bsUcWmX",
telegram: "https://t.me/kadena_io",
bitcointalk: "",
facebook: "",
twitter: "https://twitter.com/kadena_io",
reddit: "",
reddit: "https://www.reddit.com/r/kadena/",
repository: "",
youtube: "",
youtube: "https://www.youtube.com/kadenablockchain",
instagram: "",
tiktok: "",
twitch: "",
linkedin: "",
cryptoCompareID: "",
coinMarketCapID: "",
coingeckoID: "",
linkedin: "https://www.linkedin.com/company/kadena-llc",
cryptoCompareID: "KDA",
coinMarketCapID: "kadena",
coingeckoID: "kadena",
auditInfos: [],
whitepaper: [],
whitepaper: [
"https://www.kadena.io/whitepapers",
],
},
ksm: {
description: "Self-described as Polkadot's wild cousin, Kusama is an experimental blockchain platform that is designed to provide a massively interoperable and scalable framework for developers. Kusama is built on substate — a blockchain building kit developed by Parity Technologies. Kusama has almost the same codebase as Polkadot — one of the most successful interoperable blockchains.",
Expand Down Expand Up @@ -15915,6 +15917,35 @@ const coininfo = {
auditInfos: [],
whitepaper: [],
},
babena: {
description: "Babena is a new token on the Kadena network. We took a CEFI concept and turned it into DEFI. It’s equivalent is called a certificate of deposit. You lock tokens for a period of time, and get more tokens out of it. The added twist is the longer you lock them for, the higher APY you get.",
total_supply: 1680990,
circulating_supply: 22027,
websites: [
"https://babena.finance",
],
explorers: [
"https://explorer.chainweb.com",
],
medium: "https://thanos-42.medium.com/my-kadena-mints-babena-2ad6e701bd01",
discord: "",
telegram: "https://t.me/BabenaFinance",
bitcointalk: "",
facebook: "",
twitter: "https://twitter.com/BabenaFinance",
reddit: "",
repository: "",
youtube: "",
instagram: "",
tiktok: "",
twitch: "",
linkedin: "",
cryptoCompareID: "",
coinMarketCapID: "",
coingeckoID: "",
auditInfos: [],
whitepaper: [],
},
};

export default {
Expand Down
62 changes: 62 additions & 0 deletions coinsSimple.js
Original file line number Diff line number Diff line change
Expand Up @@ -20525,6 +20525,68 @@ const coins = {
],
decimals: 6,
},
babena: {
coin: "babena",
name: "Babena KDA Token",
uri: [
"babena",
"babe",
],
slip: 1024,
wif: "80",
addresses: [],
api: [
"https://kadena.app.runonflux.io/",
"https://kadena2.app.runonflux.io/",
],
unit: "BABE",
type: "kadena",
chainIDs: [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
],
explorer: [
"https://explorer.chainweb.com/mainnet/tx/",
],
logolink: "static/logos/BABENA.svg",
node: [
"kadena.app.runonflux.io",
"kadena2.app.runonflux.io",
"b.kadenachainwebnode.app.runonflux.io",
"kadenachainwebnode.app.runonflux.io",
],
fee: 900,
feepolicy: {
economy: 0.00000001,
normal: 0.000001,
fast: 0.00011,
},
color: "#faba04",
backend: [
"kadena",
],
namespace: "free.babena",
decimals: 12,
chain: "mainnet01",
},
};

module.exports = coins;
62 changes: 62 additions & 0 deletions docs/IntegratingExchangeWithCCXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Centralized CCXT certified exchange Integration

When integrating centralized exchange check the following

- Uncomment the exchange in scripts\ccxt.js
- Add Zelcore Compatible Exchange svg logo to static\logos\Exchanges
- In src\renderer\languages\en.js add message.{Exchange} and message.ex_{Exchange}_text. Where {Exchange} the Exchange name.
- In src\renderer\storage\exchangeinfo.js add the exchange specifications e.g.

coinbasepro: { // Object name always lowercase
name: "CoinbasePro", // Exchange name can use various case but remember to use this for exchange specific functions in code
isZelcorePlus: true, // If the exchange is only available in zelcore plus
apiKeyHelpURL: "https://help.coinbase.com/en/pro/other-topics/api/how-do-i-create-an-api-key-for-coinbase-pro", // api key documentation
msgName: "coinbasePro", // Exchange key in language message object
msgDesc: "ex_coinbasePro_text", // Exchange description key in language message object
logolink: "static/logos/Exchanges/CoinbasePro.svg", // Link to exchange logo
hasFlux: false, // If exchange has flux
ccxtName: "coinbasepro", // The key of the exchange in the ccxt library object
ccxtOptions: {
// various options for the ccxt object specific to the exchange
// verbose: true,
options: {
// adjustForTimeDifference: false,
},
},
apiData: { // Here it is defined what creds are nessesary for the exchange so appropriate fields appear
key: true,
secret: true,
password: true,
token: false,
},
// web socket urls
klineUri: null, // "wss://ws-feed.exchange.coinbase.com";
aggregatedOrdersUrl: "wss://ws-feed.exchange.coinbase.com",
tickerUrl: "wss://ws-feed.exchange.coinbase.com",
// Bars available resolutions
barsRes: ["1", "5", "15", "60", "360", "1D"],
// OHVL CCXT interval resolutions
intervalArray: {
1: "1m",
5: "5m",
15: "15m",
60: "1h",
360: "6h",
D: "1d",
"1D": "1d",
},
klineLimit: 2500, // limit with which OHVL data are requested from ccxt library
aggregatedOrdersLimit: 20, // Limit for orderbook fetching from ccxt library
// OHVL websocket interval resolutions
interval: {
1: "1m",
5: "5m",
15: "15m",
60: "1h",
360: "6h",
D: "1d",
"1D": "1d",
},
},

- Configuring websockets (OHVL, ticker, aggregatedOrders) in src\renderer\components\Exchange\centralisedExchanges\ExchangeLayout.vue
78 changes: 75 additions & 3 deletions exchangeinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ const implementedExchanges = {
binance: {
name: "Binance",
isZelcorePlus: true,
apiKeyHelpURL: "https://support.binance.com/hc/en-us/articles/360002502072-How-to-create-API",
apiKeyHelpURL: "https://www.binance.com/en/support/faq/360002502072",
msgName: "binance",
msgDesc: "ex_binance_text",
logolink: "static/logos/Exchanges/Binance.svg",
ccxtName: "binance",
hasFlux: false,
hasFlux: true,
ccxtOptions: {
// verbose: true,
options: {
Expand All @@ -269,7 +269,7 @@ const implementedExchanges = {
token: false,
},
// web socket urls
klineUri: null,
klineUri: "wss://stream.binance.com:9443/ws/",
aggregatedOrdersUrl: "wss://stream.binance.com:9443/ws/",
tickerUrl: "wss://stream.binance.com:9443/ws/",
// Bars resolutions
Expand Down Expand Up @@ -319,6 +319,78 @@ const implementedExchanges = {
"1M": "1M",
},
},
binanceus: {
name: "BinanceUS",
isZelcorePlus: true,
apiKeyHelpURL: "https://www.binance.com/en/support/faq/360002502072",
msgName: "binanceus",
msgDesc: "ex_binanceus_text",
logolink: "static/logos/Exchanges/BinanceUS.svg",
ccxtName: "binanceus",
hasFlux: false,
ccxtOptions: {
// verbose: true,
options: {
fetchTradesWarning: false,
},
},
apiData: {
key: true,
secret: true,
password: false,
token: false,
},
// web socket urls
klineUri: "wss://stream.binance.us:9443/ws/",
aggregatedOrdersUrl: "wss://stream.binance.us:9443/ws/",
tickerUrl: "wss://stream.binance.us:9443/ws/",
// Bars resolutions
barsRes: ["1", "3", "5", "15", "30", "60", "120", "240", "360", "480", "720", "1D", "3D", "1W", "1M"],
// OHVL CCXT interval
intervalArray: {
1: "1m",
3: "3m",
5: "5m",
15: "15m",
30: "30m",
60: "1h",
120: "2h",
240: "4h",
360: "6h",
480: "8h",
720: "12h",
D: "1d",
"1D": "1d",
"3D": "3d",
W: "1w",
"1W": "1w",
M: "1M",
"1M": "1M",
},
klineLimit: 2500,
aggregatedOrdersLimit: 50,
// OHVL websocket interval or manual tv update same as interval
interval: {
1: "1m",
3: "3m",
5: "5m",
15: "15m",
30: "30m",
60: "1h",
120: "2h",
240: "4h",
360: "6h",
480: "8h",
720: "12h",
D: "1d",
"1D": "1d",
"3D": "3d",
W: "1w",
"1W": "1w",
M: "1M",
"1M": "1M",
},
},
kraken: {
name: "Kraken",
isZelcorePlus: true,
Expand Down
15 changes: 0 additions & 15 deletions index.js

This file was deleted.

7 changes: 7 additions & 0 deletions languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ export default {
add_non_zero_balances: "Add non-zero balance assets to my Portfolio",
hide_zero_balance_assets: "Hide zero balance assets from my Portfolio",
smartify: "Smartify", // name of feature
smartify_conpleted_title: "Smartify Completed",
smartify_completed_message: "Smartify on first login successfully completed. Thank you.",
hide_assets: "Hide Assets",
transaction_received_title: "Incoming Transaction",
reward_received: "Reward Received",
Expand Down Expand Up @@ -1161,6 +1163,7 @@ export default {
ex_coinbasePro_text: "As the leading mainstream cryptocurrency exchange in the United States, Coinbase has become a standard on-ramp for new crypto investors. Coinbase has its own U.S. dollar stable-coin.",
ex_gateio_text: "Gate.io was founded in 2013, it is a TOP10 exchange of global digital asset trading and real volume. With security being one of our top features, Gate.io provides 100% security deposit audit certificates.",
ex_binance_text: "Binance is a Cayman Islands-domiciled cryptocurrency exchange that provides a platform for trading various cryptocurrencies founded in 2017. Binance is considered to be the largest cryptocurrency exchange in the world in terms of trading volume.",
ex_binanceus_text: "Launched in September 2019, Binance.US is a digital asset marketplace, powered by matching engine and wallet technologies licensed from the world’s largest cryptocurrency exchange, Binance.",
ex_kraken_text: "Kraken is a United States-based cryptocurrency exchange and bank, founded in 2011. The exchange provides cryptocurrency-to-fiat-money trading, and provides price information to Bloomberg Terminal. High reputability and long establishments makes it an easy choice.",
ex_bittrex_text: "Bittrex Global is based in Liechtenstein and Bermuda, placing them in world class financial systems governed by revolutionary legislation. Bittrex is a veteran exchange with lightning-fast trades and high security standards.",
create_ftx_account: "Create FTX account",
Expand Down Expand Up @@ -1331,6 +1334,9 @@ export default {
invalid_easy_sig: "Invalid Easy Login signature. Standard login required.",
unable_to_update: "Unable to check updates!",
zeltrez_advanced: "ZelTreZ has advanced! Welcome to Zelcore!",
first_login_title: "Welcome to Zelcore!",
first_login_message: "We have detected this is the first login on this account on this device, we will run smartify feature to see if your account have balances in some coins/assets in your wallets, in case you are already a Zelcore user just using new device. "
+ "This process will take around 2 minutes and while running you will see wallet selected changing. Wait for the process to finish, you will get a notification. Thank you.",
zeltrez_failed: "Failed to upgrade to Zelcore. Please uninstall ZelTreZ and delete all it's files",
d2fa_is_processing: "Your d2FA is processing your recent request. To login you must use your previous settings.",
d2fa_is_not_confirmed: "Your d2FA is not yet confirmed by the network. It will be activated soon.",
Expand Down Expand Up @@ -1606,6 +1612,7 @@ export default {
exchange_swap: "Swap",
exchange_full: "Full exchange",
binance: "Binance",
binanceus: "Binance.US",
kraken: "Kraken",
bittrex: "Bittrex",
bitmex: "Bitmex",
Expand Down
12 changes: 12 additions & 0 deletions logos/BABENA.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6107d10

Please sign in to comment.