Skip to content

AttributeError #43

@exaho

Description

@exaho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions