Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vechain/b32

Signature collection of smart contract method & event
https://github.com/vechain/b32

Last synced: about 2 months ago
JSON representation

Signature collection of smart contract method & event

Awesome Lists containing this project

README

        

# B32

> [Signature collection of smart contract method & event.](https://b32.vecha.in)

To help retrieving method/event's JSON ABI by its signature.

## Submit JSON ABI

* Initiate a new [pull request](https://github.com/vechain/b32/new/master/ABIs)
* Fill the file name like <`my-awesome-contract.json`>
* Fill the file content with full JSON ABI produced by [solidity compiler](https://github.com/ethereum/solidity/releases)

## Query JSON ABI

```bash
# replace 0x06fdde03 with your signature
> curl https://b32.vecha.in/q/0x06fdde03.json
```

The output will be
```JSON
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"}]
```

which is an array of objects which share the same signature.