/** * @escapehub/token-creator * * Framework-agnostic SDK for deploying ERC20 tokens via LaunchERC20Factory. * Works with any JavaScript/TypeScript environment - no Angular dependencies. * * @example * ```typescript * import { * deployToken, * createDefaultConfig, * estimateGas, * predictAddress, * } from '@escapehub/token-creator'; * import { BrowserProvider } from 'ethers'; * * // Connect wallet * const provider = new BrowserProvider(window.ethereum); * const signer = await provider.getSigner(); * const address = await signer.getAddress(); * * // Create token configuration * const config = createDefaultConfig('My Token', 'MTK', '1000000', address); * * // Define chain * const chainConfig = { * chainId: 11155111, // Sepolia * factoryAddress: '0x10ca27bc0c4f9c1ea9169a76270c0c136d160a54', * }; * * // Deploy! * const result = await deployToken(signer, config, chainConfig); * console.log('Token deployed at:', result.tokenAddress); * console.log('Transaction hash:', result.txHash); * ``` */ export { deployToken, predictAddress, predictAddressLocal, estimateGas, getCreationFee, getImplementation, getMinimalProxyInitCodeHash, addressHasCode, verifyAddressAvailable, normalizeWallet, createProvider, parseTokenCreatedEvent, waitForDeployment, encodeTokenConfig, isLegacyChain, FACTORY_ABI, FACTORY_ABI_JSON, LEGACY_CHAIN_IDS, } from './deploy'; export type { EIP1193Provider, WalletClientInput, WalletInput, DeploymentResult, GasEstimation, } from './deploy'; export { readTokenData, readTokenDataIndividual, fetchInitialDistribution, createProvider as createProviderFromRead, checkMulticall3Available, STANDARD_MULTICALL3_ADDRESS, MULTICALL3_ABI, TOKEN_READ_ABI, } from './read'; export { computeCreate2Address, buildMinimalProxyBytecode, getMinimalProxyInitCodeHash as getMinimalProxyInitCodeHashCreate2, matchesVanityPattern, isValidHexPattern, generateRandomSalt, generateSalt, generateSaltAsync, normalizeAddress, isZeroSalt, estimateVanityAttempts, formatAttempts, estimateVanityTime, formatDuration, CREATE2_PREFIX, MINIMAL_PROXY_PREFIX, MINIMAL_PROXY_SUFFIX, ZERO_SALT, } from './create2'; export type { VanityPatternMode, VanityResult, VanityMiningOptions, } from './create2'; export type { TokenData, TokenDataFlat, FeeConfig, LimitConfig, BlacklistConfig, WhitelistConfig, AntiDumpConfig, DeadblockConfig, BatchTransferConfig, MultiTokenResult, TokenSummary, ChainConfig, TokenIdentifier, DistributionEntry, ReadConfig, DistributionEntryDetailed, } from './types/token-data'; export type { TokenConfig, DeploymentStatus, ValidationError, ValidationResult, Address, TxHash, FeeRecipientShare, DistributionConfig, } from './types/deploy-config'; export { ZERO_ADDRESS, DeadblockMode, WhitelistMode, AntiDumpType, BatchTransferAccess, BatchTransferFees, createDefaultConfig, isAddress, isTxHash, } from './types/deploy-config'; export { LaunchERC20ABI, LaunchERC20FactoryABI, LaunchERC20ReadABI, LaunchERC20FactoryReadABI, } from './abis'; export { STANDARD_JSON_INPUT, SOLC_VERSION, CONTRACT_NAME, ETHERSCAN_API_URLS, getEtherscanApiUrl, } from './verification'; export { SUPPORTED_CHAINS, CHAIN_MAP, STANDARD_MULTICALL3, getChainConfig, getFactoryAddress, isChainSupported, getMainnets, getTestnets, } from './chains'; export type { SupportedChainConfig } from './chains'; //# sourceMappingURL=index.d.ts.map