-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When arriving on the app, before depositing any money, a transaction should be broadcasted and included in a block (see how boom is working)
smth like this:
doContractCall({
network,
contractAddress: 'ST000000000000000000002AMW42H',
contractName: 'pox',
functionName: 'allow-contract-caller',
functionArgs: [
contractPrincipalCV(
'ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM',
'stacks-bingo'
),
noneCV(),
],
onFinish: (data) => {
console.log(data);
},
});- Show in UI button to trigger the transaction
- If you reload the page query the mempool to see if a pending tx is included (bonus)
- Once tx is included, show the input for the amount
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels