Skip to content
Open
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
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ Enkrypt is a web3 wallet built from the ground up to support the multi-chain fut
- Kadena
- Karura
- Karura EVM
- Klaytn
- Kusama
- Linea
- Litecoin
- Manta Pacific
- Mode
- Moonbeam
- Moonriver
- OKX Chain
- Ontology EVM
- Opal
Expand All @@ -91,7 +88,6 @@ Enkrypt is a web3 wallet built from the ground up to support the multi-chain fut
- Proof of Play Apex
- Puppy Net
- Quartz
- RARI Chain
- Rollux
- Rootstock
- Sanko Chain
Expand Down Expand Up @@ -228,4 +224,4 @@ Email - info@enkrypt.com

Homepage - [https://www.enkrypt.com/](https://www.enkrypt.com/)

<p align="right">(<a href="#top">back to top</a>)</p>
<p align="right">(<a href="#top">back to top</a>)</p>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^20.5.3",
"@swc/core": "^1.15.40",
"concurrently": "^9.2.1",
"@swc/core": "^1.15.47",
"concurrently": "^9.2.4",
"husky": "^9.1.7",
"node-notifier": "^10.0.1",
"nodemon": "^3.1.14",
Expand Down
14 changes: 7 additions & 7 deletions packages/extension-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@types/node": "^22.19.19",
"@types/node": "^22.20.1",
"@types/webextension-polyfill": "^0.12.5",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.4",
"@typescript-eslint/eslint-plugin": "^8.67.0",
"@typescript-eslint/parser": "^8.67.0",
"bumpp": "^10.4.1",
"eslint": "^9.39.4",
"eslint": "^9.39.5",
"eslint-config-airbnb-base": "^15.0.0",
Comment thread
kvhnuke marked this conversation as resolved.
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-module-resolver": "^1.5.0",
"prettier": "^3.8.3",
"prettier": "^3.9.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.5.1",
"type-fest": "^5.6.0",
"type-fest": "^5.8.0",
"typescript": "^5.9.3",
"typescript-eslint": "8.59.4"
"typescript-eslint": "8.67.0"
}
}
2 changes: 1 addition & 1 deletion packages/extension/action.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="">
<html lang="" style="width: max-content">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down
60 changes: 30 additions & 30 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"watch:firefox": "yarn prebuild && cross-env BROWSER='firefox' vite"
},
"dependencies": {
"@amplitude/analytics-browser": "^2.42.4",
"@amplitude/analytics-browser": "^2.45.6",
"@enkryptcom/extension-bridge": "workspace:^",
"@enkryptcom/hw-wallets": "workspace:^",
"@enkryptcom/keyring": "workspace:^",
Expand All @@ -38,7 +38,7 @@
"@ethereumjs/wallet": "^2.0.4",
"@kadena/client": "^1.18.3",
"@kadena/pactjs-cli": "^1.18.3",
"@ledgerhq/hw-transport-webusb": "^6.34.2",
"@ledgerhq/hw-transport-webusb": "^6.35.0",
"@massalabs/massa-web3": "^5.3.0",
"@metamask/eth-sig-util": "^8.2.0",
"@metaplex-foundation/mpl-bubblegum": "^5.0.2",
Expand All @@ -54,16 +54,16 @@
"@polkadot/util": "^14.0.3",
"@polkadot/wasm-crypto": "^7.5.4",
"@solana-developers/helpers": "2.8.0",
"@solana/spl-token": "^0.4.14",
"@solana/wallet-standard-features": "^1.3.0",
"@solana/spl-token": "^0.4.15",
"@solana/wallet-standard-features": "^1.4.0",
"@solana/web3.js": "^1.98.4",
"@wallet-standard/base": "^1.1.0",
"add": "^2.0.6",
"@wallet-standard/base": "^1.1.1",
"add": "^2.0.9",
"bignumber.js": "^9.3.1",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.7",
"bs58": "^6.0.0",
"concurrently": "^9.2.1",
"concurrently": "^9.2.4",
"echarts": "^6.1.0",
"ethereum-cryptography": "^2.2.1",
"ethereumjs-abi": "^0.6.8",
Expand All @@ -75,12 +75,12 @@
"nanoevents": "^9.1.0",
"pact-lang-api": "^4.3.6",
"pinia": "^3.0.4",
"qrcode.vue": "^3.9.1",
"qrcode.vue": "^3.10.0",
"switch-ts": "^2.0.0",
"url-parse": "^1.5.10",
"uuid": "^13.0.2",
"vue": "^3.5.34",
"vue-echarts": "8.0.1",
"vue": "^3.5.41",
"vue-echarts": "8.1.0",
"vue-router": "^4.6.4",
"vue3-lottie": "^3.3.1",
"vuedraggable": "^4.1.0",
Expand All @@ -90,8 +90,8 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.4.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@crxjs/vite-plugin": "^2.7.1",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
Expand All @@ -100,46 +100,46 @@
"@rollup/plugin-typescript": "^12.3.0",
"@tsconfig/node20": "^20.1.9",
"@types/bs58": "^5.0.0",
"@types/chrome": "^0.1.42",
"@types/chrome": "^0.1.43",
"@types/ethereumjs-abi": "^0.6.5",
"@types/events": "^3.0.3",
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.8",
"@types/lodash": "^4.17.24",
"@types/node": "^22.19.19",
"@types/semver": "^7.7.1",
"@types/lodash": "^4.17.25",
"@types/node": "^22.20.1",
"@types/semver": "^7.8.0",
"@types/url-parse": "^1.4.11",
"@types/utf-8-validate": "^5.0.2",
"@types/uuid": "^11.0.0",
"@types/wif": "^2.0.5",
"@types/zxcvbn": "^4.4.5",
"@vitejs/plugin-vue": "^6.0.7",
"@vitejs/plugin-vue": "^6.0.8",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.7.0",
"@vue/eslint-config-typescript": "^14.9.0",
"@vue/tsconfig": "^0.9.1",
"@vueuse/core": "^14.3.0",
"@vueuse/core": "^14.4.0",
"cross-env": "^10.1.0",
"eslint": "^9.39.4",
"eslint-plugin-vue": "^10.9.1",
"fs-extra": "^11.3.5",
"eslint": "^9.39.5",
"eslint-plugin-vue": "^10.10.0",
"fs-extra": "^11.4.0",
"jsdom": "^29.1.1",
"less": "^4.6.4",
"less": "^4.9.0",
"less-loader": "^12.3.3",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.3",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"rollup": "^4.60.4",
"rollup": "^4.62.4",
"rollup-plugin-visualizer": "^6.0.11",
"semver": "^7.8.1",
"systeminformation": "^5.31.6",
"semver": "^7.8.5",
"systeminformation": "^5.33.1",
"tsup": "^8.5.1",
"typescript": "~5.9.3",
"url": "^0.11.4",
"vite": "^7.3.3",
"vite": "^7.3.6",
"vite-plugin-node-polyfills": "0.26.0",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.7",
"vue-tsc": "^3.3.1",
"vitest": "^4.1.10",
"vue-tsc": "^3.3.9",
"webextension-polyfill": "^0.12.0"
},
"installConfig": {
Expand Down
6 changes: 0 additions & 6 deletions packages/extension/src/libs/dapp-list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ const lists: Partial<Record<NetworkNames, string>> = {
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/aca.json',
[NetworkNames.Karura]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/kar.json',
[NetworkNames.Moonbeam]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/glmr.json',
[NetworkNames.Moonriver]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/movr.json',
[NetworkNames.Astar]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/astr.json',
[NetworkNames.AstarEVM]:
Expand Down Expand Up @@ -73,8 +69,6 @@ const lists: Partial<Record<NetworkNames, string>> = {
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/palm.json',
[NetworkNames.Scroll]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/scroll.json',
[NetworkNames.Rari]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/rari.json',
[NetworkNames.Solana]:
'https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/dapps/sol.json',
[NetworkNames.Linea]:
Expand Down
1 change: 0 additions & 1 deletion packages/extension/src/libs/market-data/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export interface CoingeckPlatforms {
'binance-smart-chain'?: string;
gochain?: string;
'polygon-pos'?: string;
moonbeam?: string;
rootstock?: string;
}
export interface CoinGeckoToken {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,12 @@ const NetworkEndpoints: Record<string, string> = {
[NetworkNames.Ethereum]: 'https://eth.blockscout.com/api?',
[NetworkNames.Binance]: 'https://api.etherscan.io/v2/api?chainid=56&',
[NetworkNames.Matic]: 'https://polygon.blockscout.com/api?',
[NetworkNames.Moonbeam]: 'https://api.etherscan.io/v2/api?chainid=1284&',
[NetworkNames.Moonriver]: 'https://api.etherscan.io/v2/api?chainid=1285&',
[NetworkNames.KaruraEVM]: 'https://blockscout.karura.network/api?',
[NetworkNames.AstarEVM]: 'https://blockscout.com/astar/api?',
[NetworkNames.Optimism]: 'https://api.etherscan.io/v2/api?chainid=10&',
[NetworkNames.Rootstock]: 'https://blockscout.com/rsk/mainnet/api?',
[NetworkNames.RootstockTestnet]:
'https://rootstock-testnet.blockscout.com/api?',
[NetworkNames.SkaleBlockBrawlers]:
'https://frayed-decent-antares.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleCalypso]:
'https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleCryptoBlades]:
'https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleCryptoColosseum]:
'https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleEuropa]:
'https://elated-tan-skat.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleNebula]:
'https://green-giddy-denebola.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.SkaleTitan]:
'https://parallel-stormy-spica.explorer.mainnet.skalenodes.com/api?',
[NetworkNames.ZkSync]: 'https://block-explorer-api.mainnet.zksync.io/api?',
[NetworkNames.Arbitrum]: 'https://api.etherscan.io/v2/api?chainid=42161&',
[NetworkNames.ArbitrumNova]: 'https://api.etherscan.io/v2/api?chainid=42170&',
Expand All @@ -47,7 +31,6 @@ const NetworkEndpoints: Record<string, string> = {
[NetworkNames.Degen]: 'https://explorer.degen.tips/api?',
[NetworkNames.Ink]: 'https://explorer.inkonchain.com/api?',
[NetworkNames.ImmutableZkevm]: 'https://explorer.immutable.com/api?',
[NetworkNames.Rari]: 'https://mainnet.explorer.rarichain.org/api?',
[NetworkNames.Forma]: 'https://explorer.forma.art/api?',
[NetworkNames.XLayer]: 'https://www.oklink.com/api/v5/explorer/xlayer/api?',
[NetworkNames.Linea]: 'https://api.lineascan.build/api?',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ const supportedNetworks: Record<SupportedNetworkNames, SupportedNetwork> = {
tbName: 'op',
cgPlatform: CoingeckoPlatform.Optimism,
},
[NetworkNames.Moonriver]: {
tbName: 'movr',
cgPlatform: CoingeckoPlatform.Moonriver,
},
[NetworkNames.Moonbeam]: {
tbName: 'mobm',
cgPlatform: CoingeckoPlatform.Moonbeam,
},
[NetworkNames.Rootstock]: {
cgPlatform: CoingeckoPlatform.Rootstock,
bsEndpoint: true,
Expand All @@ -78,10 +70,6 @@ const supportedNetworks: Record<SupportedNetworkNames, SupportedNetwork> = {
tbName: 'ftm',
cgPlatform: CoingeckoPlatform.Fantom,
},
[NetworkNames.Kaia]: {
tbName: 'klay',
cgPlatform: CoingeckoPlatform.Kaia,
},
[NetworkNames.Aurora]: {
tbName: 'aurora',
cgPlatform: CoingeckoPlatform.Aurora,
Expand Down Expand Up @@ -163,10 +151,6 @@ const supportedNetworks: Record<SupportedNetworkNames, SupportedNetwork> = {
tbName: 'itze',
cgPlatform: CoingeckoPlatform.ImmutableZkevm,
},
[NetworkNames.Rari]: {
tbName: 'rari',
cgPlatform: undefined,
},
[NetworkNames.Solana]: {
tbName: '',
cgPlatform: CoingeckoPlatform.Solana,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ const TokenList: Record<SupportedNetworkNames, string> = {
[NetworkNames.Fantom]: `https://tokens.coingecko.com/${CoingeckoPlatform.Fantom}/all.json`,
[NetworkNames.Gnosis]: `https://tokens.coingecko.com/${CoingeckoPlatform.Gnosis}/all.json`,
[NetworkNames.ImmutableZkevm]: `https://tokens.coingecko.com/${CoingeckoPlatform.ImmutableZkevm}/all.json`,
[NetworkNames.Kaia]: `https://tokens.coingecko.com/${CoingeckoPlatform.Kaia}/all.json`,
[NetworkNames.Linea]: `https://tokens.coingecko.com/${CoingeckoPlatform.Linea}/all.json`,
[NetworkNames.MantaPacific]: `https://tokens.coingecko.com/${CoingeckoPlatform.MantaPacific}/all.json`,
[NetworkNames.Matic]: `https://tokens.coingecko.com/${CoingeckoPlatform.Matic}/all.json`,
[NetworkNames.MaticZK]: `https://tokens.coingecko.com/${CoingeckoPlatform.MaticZK}/all.json`,
[NetworkNames.Mode]: `https://tokens.coingecko.com/${CoingeckoPlatform.Mode}/all.json`,
[NetworkNames.Moonbeam]: `https://tokens.coingecko.com/${CoingeckoPlatform.Moonbeam}/all.json`,
[NetworkNames.Moonriver]: `https://tokens.coingecko.com/${CoingeckoPlatform.Moonriver}/all.json`,
[NetworkNames.OpBNB]: `https://tokens.coingecko.com/${CoingeckoPlatform.OpBNB}/all.json`,
[NetworkNames.Optimism]: `https://tokens.coingecko.com/${CoingeckoPlatform.Optimism}/all.json`,
[NetworkNames.Rari]: `https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/tokenlists/rari.json`,
[NetworkNames.Rollux]: `https://tokens.coingecko.com/${CoingeckoPlatform.Rollux}/all.json`,
[NetworkNames.Rootstock]: `https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/tokenlists/rsk.json`,
[NetworkNames.Sanko]: `https://tokens.coingecko.com/${CoingeckoPlatform.Sanko}/all.json`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,12 @@ export type SupportedNetworkNames =
| NetworkNames.Matic
| NetworkNames.AstarEVM
| NetworkNames.Optimism
| NetworkNames.Moonriver
| NetworkNames.Moonbeam
| NetworkNames.Rootstock
| NetworkNames.Arbitrum
| NetworkNames.ArbitrumNova
| NetworkNames.Gnosis
| NetworkNames.Avalanche
| NetworkNames.Fantom
| NetworkNames.Kaia
| NetworkNames.Aurora
| NetworkNames.TomoChain
| NetworkNames.Shibarium
Expand All @@ -60,7 +57,6 @@ export type SupportedNetworkNames =
| NetworkNames.Mode
| NetworkNames.OpBNB
| NetworkNames.Scroll
| NetworkNames.Rari
| NetworkNames.Gravity
| NetworkNames.Unichain
| NetworkNames.Abstract
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ const decodeTx = async (
tokenTo = decodedInfo.tokenTo!;
}
await marketData
.getMarketInfoByContracts([tx.to!], network.coingeckoPlatform!)
.getMarketInfoByContracts(
[tx.to!.toLowerCase()],
network.coingeckoPlatform!,
)
.then(marketInfo => {
if (marketInfo[tx.to!]) {
currentPriceUSD = marketInfo[tx.to!]!.current_price ?? 0;
CGToken = marketInfo[tx.to!]!.id;
if (marketInfo[tx.to!.toLowerCase()]) {
currentPriceUSD =
marketInfo[tx.to!.toLowerCase()]!.current_price ?? 0;
CGToken = marketInfo[tx.to!.toLowerCase()]!.id;
}
});
} else {
Expand All @@ -82,7 +86,7 @@ const decodeTx = async (
return {
isContractCreation,
dataHex: bufferToHex(dataDecoder.data),
toAddress: tx.to!,
toAddress: tx.to!.toLowerCase(),
Comment thread
kvhnuke marked this conversation as resolved.
decodedHex: dataDecoder.decode().values,
decoded: dataDecoder.decode().decoded,
tokenDecimals,
Expand Down
Loading
Loading