Comments (17)
There is a duplicate 0xfcb5df42e06a39e233dc707bb3a80311efd11576
in adjustment.json. There are two chain ID 56
s. I will remove the duplicate.
from alpha-wallet-android.
How do I assign the channel id if I find something missing in adjustments.json? @hboon
from alpha-wallet-android.
@eviltofu do you mean "chain ID"? Can you elaborate either way?
from alpha-wallet-android.
Doh I keep typing in the wrong thing.
I mean in the step update the spam group in tokens repo (use adjustment.json) if I find a token that has a spam token but is not in adjustment.json what should the chain ID be?
For example: 0x7da85e8592b45dc0811cdca4e5b8267e7833a87d
from alpha-wallet-android.
You'll have to figure it by checking it against each blockchain explorer site by entering the contract and see if that's the contract + chain ID
- Open
modules/AlphaWalletFoundation/AlphaWalletFoundation/Settings/Types/RPCServers.swift
- Look for
return 137
, that gives you the whereabouts of all the chain IDs and the matching server (the enum-case) - For each of the chain IDs supported in the
tokens
repo that we have data for (there is just a handful, not all the ~30 we support in AlphaWallet), figure out the enum-case with the help of step (2) - Repeat step (2) but search for
return "https://cn.etherscan.com"
, this gives you the blockchain explorer site for each chain (enum-case) that you want. - Look to the list with the help of (4) and try searching for the contract and see if it looks like it's the one
from alpha-wallet-android.
Is a spam token? I've been only counting . @hboon
from alpha-wallet-android.
Only the latter (the one with the "SPAM" image). At least for now
from alpha-wallet-android.
@hboon can't seem to find any chain id from cn.etherscan.com
from alpha-wallet-android.
From #3129 (comment). eg. Look for 137, so we have:
case .polygon: return 137
and next:
case .polygon: return "https://polygonscan.com"
from alpha-wallet-android.
This isn't the problem I was able to eventually get to polygonscan.com. After entering the contract address, how do I find the chain id? There is no attribute named chain id. https://polygonscan.com/address/0x7da85e8592b45dc0811cdca4e5b8267e7833a87d @hboon
from alpha-wallet-android.
That’s what I meant. polygonscan.com means a specific chain ID -> 137
from alpha-wallet-android.
Can I use these search results to determine the chain IDs? Using https://etherscan.io/ @hboon Then I just take the chain IDs from RPCServers.swift.
from alpha-wallet-android.
As long as it’s accurate :)
from alpha-wallet-android.
@hboon do I have to do task 3 (update the android app) or can this be sent to someone on the android team?
from alpha-wallet-android.
@eviltofu up to you. If it's simple and you are confident, contribute a PR.
from alpha-wallet-android.
I'm currently working on this for Android :)
@hboon do I have to do task 3 (update the android app) or can this be sent to someone on the android team?
from alpha-wallet-android.
Ok. Coordinate and assign yourself to avoid duplicate work :)
from alpha-wallet-android.
Related Issues (20)
- Remove ARTIS sigma1 and ARTIS tau1 since they are dead
- Token shortcut fails HOT 1
- Error when connecting with WalletConnect v2 and Alphawallet
- Redeploy DMZ service HOT 2
- ticker length HOT 3
- Update RPC node integration test
- How to add new tokens logo, price data on Alpha Wallet HOT 2
- Funds disappear HOT 2
- Crash: com.alphawallet.app.ui.HomeActivityFragment.updateUI java.lang.NumberFormatException
- Epic
- com.alphawallet.app.TransactionDecodingTest > testBuildFunctionCallText FAILED
- ERC-721 tokens on Arbitrum are not detected HOT 2
- Trying to run the project is a hell (Execution failed for task ':app:compileAnalyticsDebugJavaWithJavac'. > java.lang.IllegalAccessError: class io.realm.processor.Utils (in unnamed module @0x5015b8c7) cannot access class com.sun.tools.javac.code.Symbol$ClassSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x5015b8c7) HOT 2
- change bnb logo HOT 1
- Lock token list in home (user can't delete token list) HOT 4
- Trouble with Ramp and error Code
- WalletConnect v2 + EIP-712 signing HOT 3
- Wallet connect v2 is not working HOT 7
- Error not sending
- Browser scroll lagging HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpha-wallet-android.