Skip to content

Commit 05342dd

Browse files
committed
Fix formatting of docs
Signed-off-by: Simon Gellis <[email protected]>
1 parent 42ec4dc commit 05342dd

File tree

1 file changed

+2
-0
lines changed
  • doc-site/docs/tutorials/custom_contracts

1 file changed

+2
-0
lines changed

doc-site/docs/tutorials/custom_contracts/cardano.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ First, decide on the contract which your dApp will satisfy. FireFly uses [FireFl
101101
This is describing a contract with a single method, named `send_ada`. This method takes three parameters: a `fromAddress`, a `toAddress`, and an `amount`.
102102

103103
It also emits three events:
104+
104105
- `TransactionAccepted(string)` is emitted when the transaction is included in a block.
105106
- `TransactionRolledBack(string)` is emitted if the transaction was included in a block, and that block got rolled back. This happens maybe once or twice a day on the Cardano network, which is more likely than some other chains, so your code must be able to gracefully handle rollbacks.
106107
- `TransactionFinalized(string)` is emitted when the transaction has been on the chain for "long enough" that it is effectively immutable. It is up to your tolerance risk.
@@ -236,6 +237,7 @@ fn main() -> Worker {
236237

237238
You can use the `firefly-cardano-deploy` tool to deploy this dApp to your running FireFly instance.
238239
This tool will
240+
239241
- Compile your dApp to WebAssembly
240242
- Deploy that WebAssembly to a running FireFly node
241243
- Deploy your interface to that FireFly node

0 commit comments

Comments
 (0)