Skip to main content
This section walks through the steps to use Atomic Toolkit in a browser application. Currently you can initialize Atomic Toolkit in a browser application using the following methods:
  1. Using Injected Arweave Wallet
  2. Using WebIrys
  3. Using Turbo

Using Injected Arweave Wallet

This uses window.arweave as a Injected Connector.

Input Parameters

The following params are available and they must be passed in as an object:
  • warp (optional): Warp: A Warp Instance to use with Deploy Plugin. If not provided, the default Warp instance for Mainnet will be used.
  • arweave (optional): Arweave: An Arweave Instance to use. If not provided, the default Arweave instance with gateway arweave.net will be used.
  • key (optional): JWKInterface | use_wallet: The Key to use for signing transactions. Defaults to use_wallet to use the Browser Extention.

Default Values

Custom Instance Example

Using WebIrys

This uses WebIrys instance for uploading data.
For more methods on initializing WebIrys, please refer to Irys Documentation.

Input Parameters

The following params are available and they must be passed in as an object:
  • warp (optional): Warp: A Warp Instance to use with Deploy Plugin. If not provided, the default Warp instance for Mainnet will be used.
  • irys: WebIrys: A WebIrys Instance to use for uploading data.

Default Values

Custom Instance Example

Using Turbo

This uses an authenticated Turbo instance for uploading data using Turbo credits.

Input Parameters

The following params are available and they must be passed in as an object:
  • warp (optional): Warp: A Warp Instance to use with Deploy Plugin. If not provided, the default Warp instance for Mainnet will be used.
  • turbo: TurboAuthenticatedClient: An authenticated Turbo Instance to use for uploading data.