Created
June 1, 2023 13:30
-
-
Save moskalyk/6e251636ca6c0fe7f4b4a7ba4bf05d45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ethers } from 'ethers' | |
async function isSequenceWallet(address: string){ | |
const provider = new ethers.providers.JsonRpcProvider('https://nodes.sequence.app/polygon') | |
const code = await provider.getCode(address); | |
if(code == '0x363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3') return true | |
else return false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment