@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core
Chopsticks core package. A common package for usage in both server and browser. It contains a local blockchain implementation, a transaction pool, a runtime executor and more!
Enumerations
Classes
- Api
- Block
- Blockchain
- ChopsticksProvider
- Database
- GenesisProvider
- HeadState
- OffchainWorker
- RemoteStorageLayer
- ResponseError
- StorageLayer
- TxPool
Interfaces
- BlockEntry
- BuildBlockParams
- Context
- DownwardMessage
- HorizontalMessage
- InherentProvider
- JsCallback
- KeyValueEntry
- Options
- StorageLayerProvider
- SubscriptionManager
- WasmExecutor
Type Aliases
- BuildBlockCallbacks
- ChainProperties
- Deferred
- Genesis
- GetKeys
- Handler
- Handlers
- Header
- ProcessKey
- RuntimeLog
- RuntimeVersion
- SetupOptions
- SignedBlock
- StorageValue
- StorageValues
- TaskCall
- TaskCallResponse
- TaskResponse
Variables
- allHandlers
- APPLY_EXTRINSIC_ERROR
- CHILD_PREFIX_LENGTH
- defaultLogger
- dev
- emptyTaskHandler
- environment
- environmentSchema
- genesisSchema
- inherentProviders
- pinoLogger
- PREFIX_LENGTH
- substrate
- xcmLogger
Functions
- buildBlock
- calculateStateRoot
- compactHex
- connectParachains
- connectVertical
- createProof
- decodeBlockStorageDiff
- decodeKey
- decodeKeyValue
- decodeProof
- defer
- destroyWorker
- dryRunExtrinsic
- dryRunInherents
- fetchKeys
- fetchKeysToArray
- genesisDigestLogs
- getAuraSlotDuration
- getCurrentSlot
- getCurrentTimestamp
- getParaId
- getRuntimeVersion
- getSlotDuration
- getWorker
- isPrefixedChildKey
- isUrl
- newHeader
- prefixedChildKey
- processOptions
- randomId
- runTask
- setStorage
- setup
- splitChildKey
- stripChildPrefix
- taskHandler
- timeTravel
- toStorageObject
- truncate