The problem SSH Ethereum Transaction Decoder solves
For someone new to the blockchain space or with little tech knowledge, it's difficult to understand a transaction on the Ethereum blockchain. This API helps simplify the transaction information to a form that the general masses can understand.
Use cases of the API
- Developers can use the API to show easy to understand eth transaction information to their users in their dApps, Extensions, Wallets, etc.
- Developers can create a notification system using the API.
- Developers can warn users about their transactions with unverified contracts.
- Explorer or bots can use the API to find the details of a transaction.
Challenges we ran into
Challenges
- Figuring out the name of the platform used for a transaction was challenging, we had to extract the ABI of the smart contract from the transaction hash, then use the ABI and contract address to create an instance of the contract. After that, we call a couple of public methods of that contract to extract the name and symbol of the transaction.
- None of the teammates were comfortable with Javascript, so we were learning javascript on the go.
- Bundling different tools such as web3.js, Multiple etherscan APIs.
Future work
- Enable decoding of batch transfers would have been our next step given some more time. We would have tried to figure out the stack tress of the complete transaction and decode each of the transactions separately.