Tryorama
Tools for managing Holochain Conductors.
|
Class |
Description |
|---|---|
|
A class to manage a conductor running on localhost. | |
|
An abstraction of a test scenario to write tests against Holochain hApps, running on a local conductor. |
|
Function |
Description |
|---|---|
|
Add all agents of all conductors to each other. Shortcuts peer discovery through a bootstrap server or gossiping. | |
|
A utility function to compare conductors' integrated DhtOps. | |
|
A utility function to compare conductors' integrated DhtOps. | |
|
Run the | |
|
The function to create a conductor. It starts a sandbox conductor via the Holochain CLI. | |
|
A utility function to wait until all conductors' DhtOps have been integrated, and are identical for a given DNA. | |
|
Enable an app and build an agent app object. | |
|
Create curried version of | |
|
A utility function to get the storage arc for a given player and dna hash. | |
|
Get a shorthand function to call a cell's zome. | |
|
integratedOpsCount(player, cellId, targetIntegratedOpsCount, intervalMs, timeoutMs) |
A utility function to wait until a player's integrated Ops count equals a desired count for a DNA |
|
A utility function to wait the given amount of time. | |
|
Spawn bootstrap and signalling server to enable peer discovery and connections between peers. | |
|
A wrapper function to create and run a scenario. A scenario is created and all involved conductors are shut down and cleaned up after running. | |
|
Shutdown signalling server process. | |
|
storageArc(player, dnaHash, storageArc, intervalMs, timeoutMs) |
A utility function to wait until a player's storage arc matches a desired storage arc for a DNA |
|
Interface |
Description |
|---|---|
|
Provides direct access to cells of an app and the agent key. | |
|
Optional arguments when installing a hApp. | |
|
A Conductor and a CellId | |
|
DNA source and additional options. | |
|
A player consists of a Conductor and an agent pub key. | |
|
Options when creating a scenario. |
|
Variable |
Description |
|---|---|
|
Type Alias |
Description |
|---|---|
|
An app and an optional agent pub key for each agent. Optionally a network seed to be used for DNA installation. | |
|
Extends an installed cell by a function to call a zome. | |
|
The function for calling a zome from a specific cell. | |
|
The zome request options adapted to a specific cell. | |
|
Options for using the conductor factory. |