{"id":23299393,"url":"https://github.com/cyberlight/uniswapliquidity","last_synced_at":"2026-01-27T02:34:02.804Z","repository":{"id":149793357,"uuid":"496094218","full_name":"CyberLight/uniswapliquidity","owner":"CyberLight","description":"Getting uniswap pool liquidity with amount0 and amount1 by NFT ids of wallet","archived":false,"fork":false,"pushed_at":"2022-05-25T05:38:39.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T20:11:24.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberLight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-25T05:27:22.000Z","updated_at":"2024-12-07T05:59:39.000Z","dependencies_parsed_at":"2023-06-02T16:15:41.531Z","dependency_job_id":null,"html_url":"https://github.com/CyberLight/uniswapliquidity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyberLight/uniswapliquidity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberLight%2Funiswapliquidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberLight%2Funiswapliquidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberLight%2Funiswapliquidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberLight%2Funiswapliquidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberLight","download_url":"https://codeload.github.com/CyberLight/uniswapliquidity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberLight%2Funiswapliquidity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T08:17:05.979Z","updated_at":"2026-01-27T02:34:02.798Z","avatar_url":"https://github.com/CyberLight.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Install abigen\n* `go mod init uniswapliquidity`\n* `go get github.com/ethereum/go-ethereum`\n* `go mod download --json`\n    * find `go-etherium` and grab Dir information like this `/go/pkg/mod/github.com/ethereum/go-ethereum@v1.10.17/cmd/abigen`\n* `cd /go/pkg/mod/github.com/ethereum/go-ethereum@v1.10.17/cmd/abigen`\n* `go build`\n    * ignore error at the end of build process about permission denied\n* `go install`\n* check availability from command line `abigen`\n\n## Generate contract from abi\n* `mkdir nftposmgr`\n* `mkdir v3factory`\n* `mkdir v3pool`\n* `abigen --abi=./abis/NFTPositionManager.json --pkg=nftposmgr --out=nftposmgr/main.go`\n* `abigen --abi=./abis/UniswapV3Factory.json --pkg=v3factory --out=v3factory/main.go`\n* `abigen --abi=./abis/UniswapV3Pool.json --pkg=v3pool --out=v3pool/main.go`\n\n## Run program\n* `go build`\n* `./uniswapliquidity -h`\n```bash\nUsage of ./uniswapliquidity:\n  -url string\n        url to node network (for example, infura url)\n  -wallet string\n        wallet hex address\n```\n* `./uniswapliquidity --url=https://kovan.infura.io/v3/xxxxxxxxxxxxxxxxxxxxx --wallet=0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`\n```\nNFTS:  7\nToken ids:  [XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX]\n{\"tokenId\":XXXXX,\"amount0\":0,\"amount1\":0}\n{\"tokenId\":XXXXX,\"amount0\":1335185372,\"amount1\":124340604754067}\n{\"tokenId\":XXXXX,\"amount0\":0,\"amount1\":0}\n{\"tokenId\":XXXXX,\"amount0\":9999999999999999996,\"amount1\":0}\n{\"tokenId\":XXXXX,\"amount0\":0,\"amount1\":99551921146955144}\n{\"tokenId\":XXXXX,\"amount0\":169614025463176389361,\"amount1\":101162888585634929975}\n{\"tokenId\":XXXXX,\"amount0\":99999999999999999,\"amount1\":970078212752337457449}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberlight%2Funiswapliquidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberlight%2Funiswapliquidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberlight%2Funiswapliquidity/lists"}