You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Marlowe Runtime Backend requires running several services, one of which is the marlowe-tx service.
The marlowe-tx service requires a --minting-policy-cmd argument to start, but there are no instructions or examples in the documentation on how to create or obtain the minting policy command. This omission makes it unclear how to configure the service properly.
Install cardano-node and cardano-cli executables, then start the cardano node
Open a new terminal, install PostgreSQL database and start the postgresql.service
Open a new terminal, install nixOS
Open a new terminal, start the marlowe-chain-indexer service by using this command. Note that before running this command, you should update the database URI in this file marlowe-cardano/marlowe-chain-sync/sqitch.conf
Open a new terminal, start the marlowe-chain-sync service
cd marlowe-cardano
nix run .#marlowe-chain-sync -- \
--socket-path "$CARDANO_NODE_SOCKET_PATH" \
--database-uri postgresql://postgres:[email protected]/chain \
--http-port 8081
Open a new terminal, start the marlowe-indexer service. Note that before running this command, you should update the database URI in this file marlowe-cardano/marlowe-runtime/marlowe-indexer/sqitch.conf
cd marlowe-cardano/marlowe-runtime/marlowe-indexer
sqitch deploy
nix run .#marlowe-indexer -- \
--database-uri postgresql://postgres:[email protected]/chain \
--http-port 8082
Open a new terminal, start the marlowe-sync service
This is the description of the --minting-policy-cmd argument in the marlowe-tx manual: A command which creates the role token minting policy for a contract. It should read the arguments via the command line and output the serialized script binary to stdout.
Providing instructions or examples for the --minting-policy-cmd argument would significantly assist developers in setting up and using the marlowe-tx service. It would also improve the usability and completeness of the Marlowe Runtime documentation.
Thank you for addressing this issue!
The text was updated successfully, but these errors were encountered:
Summary
The Marlowe Runtime Backend requires running several services, one of which is the
marlowe-tx
service.The
marlowe-tx
service requires a--minting-policy-cmd
argument to start, but there are no instructions or examples in the documentation on how to create or obtain the minting policy command. This omission makes it unclear how to configure the service properly.Steps to reproduce
Documentation: Deploying Marlowe Runtime Backend Services Manually
Steps to reproduce the behavior:
cardano-node
andcardano-cli
executables, then start the cardano nodepostgresql.service
marlowe-chain-indexer
service by using this command. Note that before running this command, you should update the database URI in this filemarlowe-cardano/marlowe-chain-sync/sqitch.conf
marlowe-chain-sync
servicemarlowe-indexer
service. Note that before running this command, you should update the database URI in this filemarlowe-cardano/marlowe-runtime/marlowe-indexer/sqitch.conf
marlowe-sync
servicemarlowe-contract
servicemarlowe-tx
serviceMissing: --minting-policy-cmd CMD
Expected behavior
The documentation should include:
--minting-policy-cmd
argument.marlowe-tx
service.System info (please complete the following information):
cardano-cli
version: cardano-cli 10.1.1.0 - linux-x86_64 - ghc-8.10 (git rev 36871ba0cd3e86a5dbcfd6878cdb7168bb4e56a1)cardano-node
version: cardano-node 10.1.3 - linux-x86_64 - ghc-8.10 (git rev 36871ba0cd3e86a5dbcfd6878cdb7168bb4e56a1)nix
version: nix (Nix) 2.25.3Screenshots and attachments
Additional context
This is the description of the
--minting-policy-cmd
argument in themarlowe-tx
manual: A command which creates the role token minting policy for a contract. It should read the arguments via the command line and output the serialized script binary to stdout.Providing instructions or examples for the
--minting-policy-cmd
argument would significantly assist developers in setting up and using themarlowe-tx
service. It would also improve the usability and completeness of the Marlowe Runtime documentation.Thank you for addressing this issue!
The text was updated successfully, but these errors were encountered: