Blockchain Integrations in Dashboards via MeshJS
Description
Click to expand
Who
- @kikokhaledu - developer
- @safiullahmubashir08 - developer
- @janaina.senna - advisors and reviewers
What
- Write code to interact with the smart contract using MeshJS on the Frontend
- Encode the Datum and Redeemers
- Recreate the scenarios from unit tests on the deployed smart contract
How
- Encode the required parameters as CBOR objects
- Using the transaction builder in MeshJS to construct transactions
- Sign said transactions using the signing and verification key
- Submit using a cardano wallet on the dev server (pre-production testnet)
Why
To
When
Acceptance Criteria
Click to expand
Work Breakdown Structure (WBS)
| Task | Description | Duration | Status | Start Date | End Date | Comment |
|---|---|---|---|---|---|---|
| A | Update the locking code to work in two steps (1. Fund, 2. Add Datum) | 8 HR | Done | |||
| A.1 | Sign message from the oracle and include in the datum | 3 HR | Done | |||
| A.2 | Fund the escrow with mNYX tokens and store the reference UTXO | 3 HR | Done | |||
| A.3 | Use the reference UTXO to attach the datum | 2 HR | Done | |||
| B | Write the withdraw datatypes and the withdraw script | 5 HR | Done | |||
| C | Run tests for fund case | 2 HR | Done | |||
| D | Run tests for withdraw case | 2 HR | Doing | |||
| E | Run tests for refund case | 2 HR | Not Done | |||
| F | Run tests for distribute case | 2 HR | Not Done |
Edited by Safi Ullah