Skip to content

AttributeError #43

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

Open
exaho opened this issue Sep 12, 2024 · 0 comments
Open

AttributeError #43

exaho opened this issue Sep 12, 2024 · 0 comments

Comments

@exaho
Copy link

exaho commented Sep 12, 2024

AttributeError: 'TonlibClient' object has no attribute 'tonlib_wrapper'

async def generate_address(phrase):
print(f"Generating address from phrase {phrase}")
client = TonlibClient(keystore=None, config='https://newton-blockchain.github.io/global.config.json', ls_index=0, workchain_id=0)
client.init_tonlib()
wallet = await client.create_wallet()
print(f"Address : {wallet}") # Use workchain 0 for regular accounts
return wallet

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

No branches or pull requests

1 participant