Skip to content

Commit

Permalink
Merge pull request #520 from Adamant-im/feat/add-xcn-coin
Browse files Browse the repository at this point in the history
feat(`adamant-wallets`): add XCN coin
  • Loading branch information
bludnic authored Aug 21, 2023
2 parents c76bec7 + 35ebfba commit 1f6d007
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 100 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adamant-im",
"version": "4.1.1",
"version": "4.1.2",
"author": "ADAMANT Foundation <[email protected]>",
"license": "GPLv3",
"description": "Decentralized Messenger",
Expand Down
18 changes: 18 additions & 0 deletions src/components/icons/cryptos/XcnIcon.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<g>
<path
d="M416,256c0,23.7-5.2,46.2-14.4,66.4l59,59C483.1,344.9,496,302,496,256s-12.9-88.9-35.4-125.4
l-59,59C410.8,209.8,416,232.3,416,256z"
/>
<path
d="M96,256c0-23.7,5.2-46.2,14.4-66.4l-59-59C28.9,167.1,16,210,16,256s12.9,88.9,35.4,125.4l59-59
C101.2,302.2,96,279.7,96,256z"
/>
<path
d="M332.6,273.2L332.6,273.2L315.4,256l7.3-7.3l87.5-87.5l42.5-42.5C409.4,56.6,337.4,16,256,16
S102.6,56.6,59.2,118.6l57.9,57.9v0l79.5,79.5l-6.6,6.6l-88.2,88.2l-42.5,42.5C102.6,455.4,174.6,496,256,496
s153.4-40.6,196.8-102.6L332.6,273.2z M176.5,117.1C199.9,103.7,227.1,96,256,96s56.1,7.7,79.5,21.1L256,196.6L176.5,117.1z
M176.5,394.9l79.5-79.5l79.5,79.5C312.1,408.3,284.9,416,256,416S199.9,408.3,176.5,394.9z"
/>
</g>
</template>
201 changes: 104 additions & 97 deletions src/lib/constants/cryptos/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"cryptoTransferDecimals": 8,
"fixedFee": 0.5,
"defaultVisibility": true,
"txFetchInfo": {
"newPendingInterval": 4000,
"oldPendingInterval": 4000,
"registeredInterval": 4000
},
"defaultOrdinalLevel": 0,
"explorerTx": "https://explorer.adamant.im/tx/${ID}"
},
Expand Down Expand Up @@ -81,6 +86,32 @@
"defaultOrdinalLevel": 10,
"explorerTx": "https://explorer.btc.com/btc/transaction/${ID}"
},
"BUSD": {
"symbol": "BUSD",
"name": "Binance USD",
"decimals": 18,
"contractId": "0x4fabb145d64652a948d72533023f6e7a623c7c53",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"BNB": {
"symbol": "BNB",
"name": "Binance Coin",
"decimals": 18,
"contractId": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"DASH": {
"symbol": "DASH",
"name": "Dash",
Expand Down Expand Up @@ -109,32 +140,6 @@
"defaultOrdinalLevel": 80,
"explorerTx": "https://dashblockexplorer.com/tx/${ID}"
},
"BUSD": {
"symbol": "BUSD",
"name": "Binance USD",
"decimals": 18,
"contractId": "0x4fabb145d64652a948d72533023f6e7a623c7c53",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"BNB": {
"symbol": "BNB",
"name": "Binance Coin",
"decimals": 18,
"contractId": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"DAI": {
"symbol": "DAI",
"name": "Dai",
Expand Down Expand Up @@ -193,19 +198,6 @@
"type": "ERC20",
"fees": "ethereum"
},
"HOT": {
"symbol": "HOT",
"name": "Holo",
"decimals": 18,
"contractId": "0x6c6ee5e31d828de241282b9606c8e98ea48526e2",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"ETH": {
"symbol": "ETH",
"name": "Ethereum",
Expand Down Expand Up @@ -234,6 +226,47 @@
"defaultOrdinalLevel": 20,
"explorerTx": "https://etherscan.io/tx/${ID}"
},
"HOT": {
"symbol": "HOT",
"name": "Holo",
"decimals": 18,
"contractId": "0x6c6ee5e31d828de241282b9606c8e98ea48526e2",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"INJ": {
"symbol": "INJ",
"name": "Injective",
"regexAddress": "^(inj)[a-zA-HJ-NP-Z0-9]{25,39}$",
"decimals": 18,
"contractId": "0xe28b3b32b6c345a34ff64674606124dd5aceca30",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"explorerTx": "https://explorer.injective.network/transaction/${ID}",
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"LINK": {
"symbol": "LINK",
"name": "Chainlink",
"decimals": 18,
"contractId": "0x514910771af9ca656af840dff83e8264ecf986ca",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"LSK": {
"symbol": "LSK",
"name": "Lisk",
Expand Down Expand Up @@ -264,34 +297,6 @@
"defaultOrdinalLevel": 60,
"explorerTx": "https://liskscan.com/transaction/${ID}"
},
"INJ": {
"symbol": "INJ",
"name": "Injective",
"regexAddress": "^(inj)[a-zA-HJ-NP-Z0-9]{25,39}$",
"decimals": 18,
"contractId": "0xe28b3b32b6c345a34ff64674606124dd5aceca30",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"explorerTx": "https://explorer.injective.network/transaction/${ID}",
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"LINK": {
"symbol": "LINK",
"name": "Chainlink",
"decimals": 18,
"contractId": "0x514910771af9ca656af840dff83e8264ecf986ca",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
"fees": "ethereum"
},
"MANA": {
"symbol": "MANA",
"name": "Decentraland",
Expand Down Expand Up @@ -333,11 +338,11 @@
"type": "ERC20",
"fees": "ethereum"
},
"REN": {
"symbol": "REN",
"name": "Ren",
"QNT": {
"symbol": "QNT",
"name": "Quant",
"decimals": 18,
"contractId": "0x408e41876cccdc0f92210600ef50372656052a38",
"contractId": "0x4a220E6096B25EADb88358cb44068A3248254675",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
Expand All @@ -346,11 +351,11 @@
"type": "ERC20",
"fees": "ethereum"
},
"QNT": {
"symbol": "QNT",
"name": "Quant",
"REN": {
"symbol": "REN",
"name": "Ren",
"decimals": 18,
"contractId": "0x4a220E6096B25EADb88358cb44068A3248254675",
"contractId": "0x408e41876cccdc0f92210600ef50372656052a38",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
Expand Down Expand Up @@ -385,11 +390,11 @@
"type": "ERC20",
"fees": "ethereum"
},
"SNX": {
"symbol": "SNX",
"name": "Synthetix Network",
"TUSD": {
"symbol": "TUSD",
"name": "TrueUSD",
"decimals": 18,
"contractId": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
"contractId": "0x0000000000085d4780b73119b644ae5ecd22b376",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
Expand All @@ -398,11 +403,11 @@
"type": "ERC20",
"fees": "ethereum"
},
"UNI": {
"symbol": "UNI",
"name": "Uniswap",
"SNX": {
"symbol": "SNX",
"name": "Synthetix Network",
"decimals": 18,
"contractId": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"contractId": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
Expand All @@ -411,11 +416,11 @@
"type": "ERC20",
"fees": "ethereum"
},
"TUSD": {
"symbol": "TUSD",
"name": "TrueUSD",
"UNI": {
"symbol": "UNI",
"name": "Uniswap",
"decimals": 18,
"contractId": "0x0000000000085d4780b73119b644ae5ecd22b376",
"contractId": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultGasLimit": 58000,
Expand All @@ -424,14 +429,16 @@
"type": "ERC20",
"fees": "ethereum"
},
"USDS": {
"symbol": "USDS",
"name": "Stably USD",
"USDC": {
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"contractId": "0xa4bdb11dc0a2bec88d24a3aa1e6bb17201112ebe",
"contractId": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultVisibility": true,
"defaultGasLimit": 58000,
"defaultOrdinalLevel": 40,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
Expand All @@ -450,16 +457,14 @@
"type": "ERC20",
"fees": "ethereum"
},
"USDC": {
"symbol": "USDC",
"name": "USD Coin",
"USDS": {
"symbol": "USDS",
"name": "Stably USD",
"decimals": 6,
"contractId": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"contractId": "0xa4bdb11dc0a2bec88d24a3aa1e6bb17201112ebe",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultVisibility": true,
"defaultGasLimit": 58000,
"defaultOrdinalLevel": 40,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
Expand Down Expand Up @@ -500,7 +505,9 @@
"contractId": "0xa2cd3d43c775978a96bdbf12d733d5a1ed94fb18",
"createCoin": false,
"cryptoTransferDecimals": 6,
"defaultVisibility": true,
"defaultGasLimit": 58000,
"defaultOrdinalLevel": 100,
"status": "active",
"mainCoin": "ETH",
"type": "ERC20",
Expand Down

1 comment on commit 1f6d007

@vercel
Copy link

@vercel vercel bot commented on 1f6d007 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

adamant-im – ./

adamant-im-adamant-team.vercel.app
adamant-im-git-master-adamant-team.vercel.app
msg2.adamant.im

Please sign in to comment.