aztec-packages
aztec-packages copied to clipboard
fix(docs): Dapp tutorial edits
closes: https://github.com/AztecProtocol/dev-rel/issues/383
This function is still failing
async function showPublicBalances(pxe) {
const accounts = await pxe.getRegisteredAccounts();
const token = await getToken(pxe);
for (const account of accounts) {
const balance = await token.methods.balance_of_public(account.address).simulate();
console.log(`Balance of ${account.address}: ${balance}`);
}
}
Error in app: Error: (JSON-RPC PROPAGATED) Method not found: pxe_createTxExecutionRequest
Docs Preview
Hey there! 👋 You can check your preview at https://6716507dc3a49a3561e6cadc--aztec-docs-dev.netlify.app