aiken build ../onChainto create plutus.jsondeno run -A generate-credentials.tsDon't forget to fund the new address (I did)deno run -A genesis_tx.tsto mint the genesis token unArxh. Since the script is parametrized, every time the genesis_tx is run a new unArxh token is created with different policyId.deno run -A mintin_tx.tsto mint proposals for that specific unArxh token. You will be prompted for the proposal and the amount. With this transaction 200 ada are also sent to test the claim funcionality. It is not needed.deno run -A updater_tx.tsto update the state of the proposal to either COMPLETE by pressing y on the prompt either CANCELED by pressing ndeno run -A claim_tx.tsa promt will come up asking you for the proposal_id/number. After the input, the amount stated on the proposal will be withrawn from the contract.
offChain
Directory actions
More options
Directory actions
More options
offChain
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||