Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to see associated ETH address connected to a user? #735

Open
CryptoGnome opened this issue Feb 14, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@CryptoGnome
Copy link

Checklist

  • [ x] I've searched the project's issues.

❓ Question

Is there a way to see associated ETH address connected to a user?

@CryptoGnome CryptoGnome added the question Further information is requested label Feb 14, 2024
@2xic
Copy link

2xic commented Apr 8, 2024

Yes, you can do the following

import os
from farcaster import Warpcast
from dotenv import load_dotenv
load_dotenv()

mnemonic = os.environ.get("<MNEMONIC_ENV_VAR>")
client = Warpcast(mnemonic=mnemonic)

# get the associated ETH address
print(client.get_custody_address("<USERNAME>"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants