This repos helps to verify the token address is valid or not.
- The concept revolves around utilizing Trust Wallet as a reference to validate token addresses. The information is then stored in a MongoDB database, streamlining its accessibility for developers seeking better control and ease of use.
- MongoDB / Golang are required to run this tool.
- Clone the repos
git clone https://github.com/trongdth/token-checker cd token-checker
- Copy
config.yml
cp config/conf.yaml.default config/conf.yaml
- Open
config/conf.yaml
and changemongo_db_url
,mongo_db_name
with your configuration.nano config/conf.yaml
- Update submodule
git submodule update --remote --merge
- Run application with
sync
commandNotes:go run main.go sync
- Update submodule whenever you want to sync a newest data from trust wallet source.
- Run application with
check
commandNotes:go run main.go check --address=0x84d7aeef42d38a5ffc3ccef853e1b82e4958659d16a7de736a29c55fbbeb0114::staked_aptos_coin::StakedAptosCoin
- To see data from
check
command, you need to runsync
before.
- To see data from
- Run
sync
command in parallel. - Add more trusted sources.
If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕
- [Ethereum address: 0x54aa977d8aAec77935DC4b31DEE40d47054fEB2a]