Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
fix: removed test bitcoin from asset list and asset list generation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
theoboldfrazier authored Jul 6, 2022
1 parent a85d09e commit 20a6c38
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 30 deletions.
13 changes: 0 additions & 13 deletions packages/asset-service/src/generateAssetData/baseAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ export const bitcoin: Asset = {
explorerTxLink: 'https://live.blockcypher.com/btc/tx/'
}

export const tBitcoin: Asset = {
assetId: 'bip122:000000000933ea01ad0ee984209779ba/slip44:0',
chainId: 'bip122:000000000933ea01ad0ee984209779ba',
symbol: 'BTC',
name: 'Bitcoin',
precision: 8,
color: '#FF9800',
icon: 'https://assets.coincap.io/assets/icons/256/btc.png',
explorer: 'https://live.blockcypher.com/btc-testnet/',
explorerAddressLink: 'https://live.blockcypher.com/btc-testnet/address/',
explorerTxLink: 'https://live.blockcypher.com/btc-testnet/tx/'
}

export const atom: Asset = {
assetId: caip.cosmosAssetId,
chainId: caip.cosmosChainId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"bip122:000000000019d6689c085ae165831e93/slip44:0": "#FF9800",
"bip122:000000000933ea01ad0ee984209779ba/slip44:0": "#FF9800",
"cosmos:cosmoshub-4/slip44:118": "#303F9F",
"cosmos:osmosis-1/ibc:0954E1C28EB7AF5B72D24F3BC2B47BBB2FDF91BDDFD57B74B99E133AED40972A": "#040404",
"cosmos:osmosis-1/ibc:0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7": "#F3AC35",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import orderBy from 'lodash/orderBy'

import { AssetsById } from '../service/AssetService'
import * as avalanche from './avalanche'
import { atom, bitcoin, tBitcoin } from './baseAssets'
import { atom, bitcoin } from './baseAssets'
import * as ethereum from './ethereum'
import * as osmosis from './osmosis'
import { setColors } from './setColors'
Expand All @@ -21,7 +21,6 @@ const generateAssetData = async () => {
// all assets, included assets to be blacklisted
const unfilteredAssetData: Asset[] = [
bitcoin,
tBitcoin,
atom,
...ethAssets,
...osmosisAssets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import fs from 'fs'
import orderBy from 'lodash/orderBy'

import * as avalanche from './avalanche'
import { atom, bitcoin, tBitcoin } from './baseAssets'
import { atom, bitcoin } from './baseAssets'
import * as ethereum from './ethereum'
import * as osmosis from './osmosis'
import { setColors } from './setColors'
Expand All @@ -22,7 +22,6 @@ const generateColorMap = async () => {
// all assets, included assets to be blacklisted
const unfilteredAssetData: Asset[] = [
bitcoin,
tBitcoin,
atom,
...ethAssets,
...osmosisAssets,
Expand Down
12 changes: 0 additions & 12 deletions packages/asset-service/src/service/generatedAssetData.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@
"explorerAddressLink": "https://live.blockcypher.com/btc/address/",
"explorerTxLink": "https://live.blockcypher.com/btc/tx/"
},
"bip122:000000000933ea01ad0ee984209779ba/slip44:0": {
"assetId": "bip122:000000000933ea01ad0ee984209779ba/slip44:0",
"chainId": "bip122:000000000933ea01ad0ee984209779ba",
"symbol": "BTC",
"name": "Bitcoin",
"precision": 8,
"color": "#FF9800",
"icon": "https://assets.coincap.io/assets/icons/256/btc.png",
"explorer": "https://live.blockcypher.com/btc-testnet/",
"explorerAddressLink": "https://live.blockcypher.com/btc-testnet/address/",
"explorerTxLink": "https://live.blockcypher.com/btc-testnet/tx/"
},
"cosmos:cosmoshub-4/slip44:118": {
"assetId": "cosmos:cosmoshub-4/slip44:118",
"chainId": "cosmos:cosmoshub-4",
Expand Down

0 comments on commit 20a6c38

Please sign in to comment.