-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* draft Runner page for review * addressed minor review comments
- Loading branch information
1 parent
d8c8417
commit 4ae98de
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
title: Runner | ||
sidebar_position: 6 | ||
--- | ||
|
||
Runner is a DApp that is designed to deploy your contract to the blockchain, whether you are deploying to the preview, pre-production or mainnet network. | ||
|
||
Once you have finished creating, simulating and testing your Marlowe smart contract, such as by using Marlowe Playground, you can then deploy your smart contract to Runner by using one of these methods: | ||
|
||
1. Send your contract to Runner by selecting the 'Send to Runner' button in Playground, or | ||
2. Download your contract as a JSON file, then upload it to Runner. | ||
|
||
## Runner's ease of use | ||
|
||
Using Runner is quite simple and intuitive. It requires no knowledge of command-line tools. You will only need to specify the network you want to work with, connect a wallet that is on the same network, and have your password details available so that you can sign transactions with your wallet. You will also need to have any required tokens or funds available in your wallet. | ||
|
||
## Technical details | ||
|
||
### Roles | ||
|
||
When a contract that uses roles is submitted to Runner, Runner will always prompt the user to provide addresses for each role. | ||
|
||
### Minting role tokens | ||
|
||
Runner will mint the role tokens that are required by the contract. Whoever has the tokens will have authorization to be a party to that contract. (The actual minting is performed by Runtime.) | ||
|
||
### Source graph view | ||
|
||
When building a contract DApp from the TS-SDK, Haskell, PureScript, or other languages, viewing it in Runner can be useful for analyzing the contract’s logic from the 'Source' graph view. | ||
|
||
### Advancing the contract | ||
|
||
Buttons become active when actions are available for the contract role that is associated with your wallet address. If an action button is not activated, it means that the contract state is waiting for another party to the contract to take an action. | ||
|
||
### Deposits and choices | ||
|
||
Depending on the conditions of the contract and your role, you may have options to make certain choices and to deposit funds. | ||
|
||
### Withdrawal | ||
|
||
When a contract provides for ada or other tokens to be withdrawn, the withdrawal functionality displays in Runner. An authorized wallet and signature is required to make a withdrawal. | ||
|
||
### Merkleization | ||
|
||
While Marlowe supports merkleization, Runner does not yet support it. | ||
|
||
### State | ||
|
||
The state of Marlowe contracts is determined by the inputs to the contract at each step, making the contract’s behavior easier to understand and predict. | ||
|
||
### More complex and sophisticated contracts | ||
|
||
For especially complex and sophisticated contract scenarios, you may need to customize your approach. Runner is not intended yet to be able to manage very complex contracts. | ||
|
||
#### Suitable contracts for Runner | ||
|
||
Contracts that fit and execute on the chain will work in Runner. Contract examples that are included within Playground are suitable for Runner. | ||
|
||
## Considerations before you deploy | ||
|
||
### On-chain limitations | ||
|
||
There are certain on-chain limitations relating to character limits of role and token names, transaction size, transaction cost limits, the number of accounts, invalid transaction addresses, Runtime tooling warnings, and testing that are recommended to be aware of. For details, please see: | ||
|
||
- **[Marlowe's on-chain limitations](../platform-and-architecture/on-chain-limitations)** | ||
|
||
- **[A comprehensive guide to Marlowe's security: audit outcomes, built-in functional restrictions, and ledger security features](https://iohk.io/en/blog/posts/2023/06/27/a-comprehensive-guide-to-marlowes-security-audit-outcomes-built-in-functional-restrictions-and-ledger-security-features/)** | ||
|
4ae98de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for marlowe-doc ready!
✅ Preview
https://marlowe-on6rqqn7w-iog.vercel.app
https://docs.marlowe.iohk.io
https://marlowe-doc.vercel.app
Built with commit 4ae98de.
This pull request is being automatically deployed with vercel-action