Optional
environment: EnvironmentName of stored mnemonic to use for authentication (currently devnet only)
Build options.
Builder to use
Whether to enable caching and reuse contracts from artifacts directory.
Docker image to use for dockerized builds.
Path to Docker API endpoint.
Dockerfile to build the build image if not downloadable.
Don't run "git fetch" during build.
Name of output directory.
Owner gid that is set on build artifacts.
Owner uid that is set on build artifacts.
Whether to use Podman instead of Docker to run the build container.
Used for historical builds.
Whether the build log should be printed only on error, or always
Whether to bypass Docker and use the toolchain from the environment.
Script that runs inside the build container, e.g. build.impl.mjs
Used to authenticate Git in build container.
Which version of the Rust toolchain to use, e.g. 1.61.0
Whether the build process should print more detail to the console.
Workspace root for project crates. This is the directory that contains the root Cargo.toml
.
Defaults to parent directory of FADROMA_PROJECT.
Optional
chainName of chain to use.
Optional
chainOverride chain id.
Override chain mode.
Deploy options.
Which implementation of the receipt store to use.
Whether to generate unsigned transactions for manual multisig signing.
Directory to store the receipts for the deployed contracts.
Devnet options.
Optional
Readonly
environmentOptional
licenseLicense token.
Logger handle.
Optional
mnemonicMnemonic to use for authentication. Hidden from logs by default.
Project file. Defaults to node_modules/fadroma/index.ts
, which just runs the Fadroma CLI
and can create a project. Projects are expected to set this var to their own root file,
which does export default class MyProject extends Fadroma.Project { ... }
and points to
the Deployment class.
The topmost directory visible to Fadroma. Usually the root of NPM package and Cargo workspace.
Secret Network configuration.
Optional
testnetMnemonic to use for authentication to testnet.
Upload options.
Whether to always upload contracts, ignoring upload receipts that match.
Directory to store the receipts for the deployed contracts.
Variant of uploader to use
the Builder class exposed by the config
DeployStoreClass selected by this.deploy.format
(FADROMA_DEPLOY_FORMAT
).
the Uploader class exposed by the config
Create the Agent instance identified by the configuration.
Optional
Builder: BuilderClass<T>a configured builder.
Protected
getProtected
getOptional
DeployStore: DeployStoreClass<T>DeployStore or subclass instance
Create a new Deployment. If a deploy store is specified, populate it with stored data (if present).
Rest
...args: [options: Partial<Omit<Deployment, "contracts">> & Partial<{ Deployment or subclass
Optional
Uploader: URest
...args: ConstructorParameters<U>a configured uploader.
Generated using TypeDoc
Connection configuration. Factory for
Chain
andAgent
objects.