1.1.0-next.57 • Published 6 days ago
@tevm/actions v1.1.0-next.57
@tevm/actions
Ethereumjs implementation of the @tevm/actions-types
Actions add functionality to the base client
Installation
Action handlers can be imported from tevm/actions
or @tevm/actions
npm install tevm
or
npm install @tevm/actions
Usage
Action handlers take a client and return an tevm action handler function
import {createBaseClient} from 'tevm/base-client'
import {callHandler} from 'tevm/actions'
/**
* Most action handlers wrap the base client
*/
const client = createBaseClient()
/**
* To use the action first instanciate it with the base client
* @type {import('tevm/actions-types').CallHandler}
*/
const call = callHandler(client)
/**
* @type{import('tevm/actions-types').CallHandlerResult}
*/
const callResult = await call({
to: `0x${'01'.repeat(20)}`,
value: 1n,
})
Actions
License 📄
1.1.0-next.57
6 days ago
1.1.0-next.56
6 days ago
1.1.0-next.55
8 days ago
1.1.0-next.53
10 days ago
1.1.0-next.54
10 days ago
1.1.0-next.52
11 days ago
1.1.0-next.50
11 days ago
1.1.0-next.49
12 days ago
1.1.0-next.47
14 days ago
1.1.0-next.46
14 days ago
1.1.0-next.45
16 days ago
1.0.0-next.42
3 months ago
1.0.0-next.41
3 months ago
1.0.0-next.40
3 months ago
1.0.0-next.39
3 months ago
1.0.0-next.33
4 months ago
1.0.0-next.37
3 months ago
1.0.0-next.34
3 months ago
1.0.0-next.31
4 months ago
1.0.0-next.30
4 months ago
1.0.0-next.28
4 months ago
1.0.0-next.26
4 months ago
1.0.0-next.25
4 months ago
1.0.0-next.24
4 months ago
1.0.0-next.23
4 months ago