Creating a wallet address



from kujuaOnChain.Client import inputs, functions

results = functions.generate_address(inputs.wallet.passphrase, '0x')
print(results)

# address type indicators are as follows
# 0x: standard wallet address
# sx: standard smart contract
# bx: binded contract
# cx: cluster
									

We use the on chain method by importing kujuaOnChain. Meaning the functions run directly on the node and return results. Off chain will be available with the full Github release. You can find the code for kujuaOnChain on GitHub