# elm-ethereum-generator

> Install elm-ethereum-generator

Latest version **4.0.0** (published 2021-01-16) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install elm-ethereum-generator
pnpm add elm-ethereum-generator
yarn add elm-ethereum-generator
bun add elm-ethereum-generator
```

Provides the command `elm-ethereum-generator`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2021-01-16 |
| First published | 2018-05-10 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 784.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 12 |
| Author | Coury Ditch |
| Maintainers | cmditch |
| Keywords | elm-ethereum-generator, elm-ethereum, web3, elm-web3, elm-web3-contract, ethereum, blockchain |

## Links

- npm: https://www.npmjs.com/package/elm-ethereum-generator
- Repository: https://github.com/cmditch/elm-ethereum-generator
- Issues: https://github.com/cmditch/elm-ethereum-generator/issues
- npm.io page: https://npm.io/package/elm-ethereum-generator

## Dependencies (1)

- [binwrap](https://npm.io/package/binwrap.md) ^0.2.1

## Recent versions

- 4.0.0 (latest) — 2021-01-16
- 3.0.0 — 2019-06-23
- 2.0.0 — 2018-07-31
- 1.1.0 — 2018-07-23
- 1.0.1 — 2018-05-10
- 1.0.0 — 2018-05-10

## README

# elm-ethereum-generator
Generate an [elm-ethereum](https://github.com/cmditch/elm-ethereum) binding for an Ethereum smart contract from it's ABI

Example usage:
`elm-ethereum-generator some-abi.json src/MyContract.elm`

## Changelog

## 3.0.0

- Updated to latest version of elm-ethereum and elm 0.19 
- Added support for dynamic types (bytes, string, list)

### 2.0.0

- Changed imports from Abi to AbiEncode and AbiDecode
- Removed unsupported types for the time being.
- De-pluralize "ies" in type alias names. Add "y" to end.
   Helpful for properly naming data returned from functions with multiple return values (structs/tuples).
- Manually entry of staticByte length required for time being. Need to majorly refactor type parsing.

### 1.1.0

- Change all occurences of Evm to Abi
- Add "Contracts." for generated module name
- De-pluralize "s" in type-alias names.
    (Though not handling "ies")

---
_Source: https://npm.io/package/elm-ethereum-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
