1.0.0-next.131 • Published 4 months ago

@tevm/actions v1.0.0-next.131

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@tevm/actions

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 {createTevmNode} from 'tevm/node'
import {callHandler} from 'tevm/actions'

/**
 * Most action handlers wrap the base client
 */
const client = createTevmNode()

/**
 * To use the action first instanciate it with the base client
 * @type {import('tevm/actions').CallHandler}
 */
const call = callHandler(client)

/**
 * @type{import('tevm/actions').CallHandlerResult}
 */
const callResult = await call({
  to: `0x${'01'.repeat(20)}`,
  value: 1n,
})

Actions

See generated actions docs

License 📄

1.0.0-next.130

4 months ago

1.0.0-next.131

4 months ago

1.0.0-next.129

4 months ago

1.0.0-next.128

4 months ago

1.0.0-next.127

8 months ago

1.0.0-next.126

9 months ago

1.0.0-next.125

9 months ago

1.0.0-next.124

9 months ago

1.0.0-next.120

10 months ago

1.0.0-next.121

10 months ago

1.0.0-next.122

9 months ago

1.0.0-next.123

9 months ago

1.0.0-next.118

10 months ago

1.0.0-next.119

10 months ago

1.1.0-next.88

1 year ago

1.1.0-next.94

1 year ago

1.1.0-next.91

1 year ago

1.1.0-next.92

1 year ago

1.1.0-next.90

1 year ago

1.1.0-next.97

1 year ago

1.1.0-next.98

1 year ago

1.1.0-next.95

1 year ago

1.1.0-next.96

1 year ago

2.0.0-next.84

1 year ago

2.0.0-next.105

11 months ago

2.0.0-next.85

1 year ago

1.1.0-next.100

1 year ago

2.0.0-next.86

1 year ago

2.0.0-next.103

12 months ago

1.1.0-next.59

1 year ago

2.0.0-next.107

11 months ago

2.0.0-next.102

12 months ago

2.0.0-next.101

12 months ago

1.1.0-next.60

1 year ago

1.1.0-next.61

1 year ago

1.1.0-next.68

1 year ago

1.1.0-next.69

1 year ago

1.1.0-next.64

1 year ago

1.1.0-next.62

1 year ago

1.0.0-next.115

10 months ago

1.0.0-next.116

10 months ago

1.0.0-next.117

10 months ago

2.0.0-next.79

1 year ago

2.0.0-next.80

1 year ago

1.0.0-next.110

11 months ago

1.0.0-next.111

10 months ago

2.0.0-next.83

1 year ago

1.1.0-next.71

1 year ago

1.1.0-next.72

1 year ago

1.1.0-next.70

1 year ago

1.1.0-next.77

1 year ago

1.1.0-next.78

1 year ago

1.1.0-next.75

1 year ago

1.1.0-next.76

1 year ago

1.1.0-next.73

1 year ago

1.1.0-next.74

1 year ago

1.0.0-next.108

11 months ago

1.0.0-next.109

11 months ago

1.1.0-next.57

1 year ago

1.1.0-next.56

1 year ago

1.1.0-next.55

1 year ago

1.1.0-next.53

1 year ago

1.1.0-next.54

1 year ago

1.1.0-next.52

1 year ago

1.1.0-next.50

1 year ago

1.1.0-next.49

1 year ago

1.1.0-next.47

1 year ago

1.1.0-next.46

1 year ago

1.1.0-next.45

1 year ago

1.0.0-next.42

1 year ago

1.0.0-next.41

1 year ago

1.0.0-next.40

1 year ago

1.0.0-next.39

1 year ago

1.0.0-next.33

1 year ago

1.0.0-next.37

1 year ago

1.0.0-next.34

1 year ago

1.0.0-next.31

1 year ago

1.0.0-next.30

1 year ago

1.0.0-next.28

1 year ago

1.0.0-next.26

1 year ago

1.0.0-next.25

1 year ago

1.0.0-next.24

1 year ago

1.0.0-next.23

1 year ago