Recap of product updates (week of July-18–2022)

Karen Sheng
HyperDapp
Published in
2 min readJul 19, 2022

We have released several product updates related to the HyperDapp Code Editor over the past two weeks or so. We made these updates mainly based on feedback that we’ve gathered from the ongoing alpha release and the HackFS hackathon.

We’ve shared these updates on our Discord with our community members. This article is to present these updates in a more organized manner.

  1. Support for all EVM-compatible chains.

HyperDapp now supports the creation of dApps on all the EVM-compatible chains, including the mainnet and testnet of Ethereum, Polygon, Binance, Avalanche, Fantom, and Arbitrum.

2. On any of these chains, HyperDapp supports both verified and unverified smart contracts. Some smart contracts are not open-sourced on Etherscan for security reasons. For instance, the contract for MetaMask is not open-sourced to minimize the risk of being hacked. In this case, as long as the user has information about the contract ABI array, they are still able to build dApps with HyperDapp. Only the compiled ABIs will be exposed in the code viewer.

With the latest updates, the default setting for importing Contract ABI has been simplified. The user is prompted to enter only a contract address and to assign a contract name in the “Contract ABI” code snippet pop-up.

  • If the contract is verified on Etherscan or contract scans on other chains (e.g. PolygonScan, BscScan), once a user clicks the “Add” button, the ABI array will be automatically imported to and translated into Prolog syntax in the Code Editor. Reference Step 3 in this tutorial.
  • Otherwise, if the contract is not verified on the chain that the user’s MetaMask is set at, the user will be prompted to copy/paste the contract ABI array manually. (Reminder: Always confirm what chain your MM is set at and what chain the contract that you are using is deployed at. There are some edge cases. Happy to discuss offline. )

3. We have added an “Oracle” code snippet. An Oracle allows the users to do external HTTP calls to an API. In the sample code snippets in the Code Editor, we use the Coindesk API to print the current BTC price in EUR, GBP, and USD.

  • In this part of the documentation, we’ve shared an example where we fetch data from IPFS by registering an “ipfs” oracle.

I hope this short recap helps. Let’s build together!

--

--