1.0.0-next.131 • Published 6 months ago

@tevm/actions v1.0.0-next.131

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 months ago

1.0.0-next.131

6 months ago

1.0.0-next.129

6 months ago

1.0.0-next.128

6 months ago

1.0.0-next.127

9 months ago

1.0.0-next.126

10 months ago

1.0.0-next.125

11 months ago

1.0.0-next.124

11 months ago

1.0.0-next.120

11 months ago

1.0.0-next.121

11 months ago

1.0.0-next.122

11 months ago

1.0.0-next.123

11 months ago

1.0.0-next.118

11 months ago

1.0.0-next.119

11 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

1 year 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

1 year ago

1.1.0-next.59

1 year ago

2.0.0-next.107

1 year ago

2.0.0-next.102

1 year ago

2.0.0-next.101

1 year 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

12 months ago

1.0.0-next.116

12 months ago

1.0.0-next.117

12 months ago

2.0.0-next.79

1 year ago

2.0.0-next.80

1 year ago

1.0.0-next.110

1 year ago

1.0.0-next.111

12 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

1 year ago

1.0.0-next.109

1 year 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

2 years ago

1.0.0-next.41

2 years ago

1.0.0-next.40

2 years ago

1.0.0-next.39

2 years ago

1.0.0-next.33

2 years ago

1.0.0-next.37

2 years ago

1.0.0-next.34

2 years ago

1.0.0-next.31

2 years ago

1.0.0-next.30

2 years ago

1.0.0-next.28

2 years ago

1.0.0-next.26

2 years ago

1.0.0-next.25

2 years ago

1.0.0-next.24

2 years ago

1.0.0-next.23

2 years ago