idquia
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
18 lines (16 loc) • 820 B
text/typescript
import { Environment } from '@usecapsule/web-sdk'
import { ChainId } from '@web3-onboard/common'
/**
* Options for initializing the Capsule environment.
*
* @typedef {Object} CapsuleInitOptions
* @property {Environment} environment - Specifies the working environment for the application.
* 'DEVELOPMENT' should be used for testing with non-real funds and wallets on a testnet.
* 'PRODUCTION' should be used when the application is ready for live deployment with real transactions.
* @property {string} [apiKey] - API key is necessary for performing transactions and wallet creation.
* This key needs to be obtained by completing a form available at https://7f4shq8oyfd.typeform.com/to/F86oVLhb.
*/
export type CapsuleInitOptions = {
environment: Environment
apiKey: string
}