Skip to content

how to achieve this? #9

@mailtodanish

Description

@mailtodanish

We generate datum script using below :

cardano-cli transaction hash-script-data --script-data-file ${datum_name}.datum

It generates the datum script. once we have datum we need to incluide it into transaction
that is generated on cli again

cardano-cli transaction build
--alonzo-era
--tx-in ${utxoin}
--tx-out ${SCRIPT_ADDR}+${LOCK_AMNT}
--tx-out-datum-hash ${hashes[0]}
--metadata-json-file metadata.json \

Please let me know how to do above using nami-wallet-api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions