Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vechain/b32
- Owner: vechain
- Created: 2019-03-13T16:39:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-25T03:42:34.000Z (3 months ago)
- Last Synced: 2024-06-25T04:46:53.597Z (3 months ago)
- Language: TypeScript
- Homepage: https://b32.vecha.in
- Size: 438 KB
- Stars: 22
- Watchers: 8
- Forks: 85
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - [submit
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.