A simple web app which allows you to deploy and progress through Marlowe contracts on Cardano easily from the browser.
Ensure you have nix
installed on your system and an instance of the Marlowe Runtime's Webserver running pointed to the desired Cardano network.
Enter the development shell:
nix develop
Install the necessary dependencies:
npm install
Run the tests:
spago test
To start the server you can use the npm run start
command, for example:
MARLOWE_WEB_SERVER_URL="http://localhost:3780" npm run start
In the previous example:
MARLOWE_WEB_SERVER_URL
: Specifies URL for the Marlowe Runtime Web server.
After this, the Marlowe Runner instance should be available by default at: http://localhost:8080/
Ensure that:
- The protocol (
http
orhttps
) is correct. - There's no extra
/
at the end of the URL.
If you get a blank page when opening Marlowe Runner in your browser, it may be necessary that you install a light wallet like Nami.
Before contributing, please format the source code using the following command from within the nix
development shell:
purs-tidy --format-in-place src/**/*.purs