Upgrade your Ethereum DApps to interoperable mDApps with Overledger by Quant Network

Source: https://www.quant.network/pr-announcements/upgrade-your-ethereum-dapps-to-interoperable-mdapps-with-overledger

With Overledger 2.0, developers can get the best out of all DLT ecosystems by allowing single-DLT DApps to be universally interoperable. Transforming single blockchain DApps to cross-platform Multi-DLT applications (mDApps) that are no longer bound to any single blockchain. 

Before the introduction of Overledger 2.0, making a digital asset and blockchain payment was complicated and involved multiple steps. With Overledger 2.0, this multi-step process has been reduced to only two simple steps.  

For example, before the introduction of Overledger 2.0, it was much harder to make a ERC20-based token payment from an app. Developers had to:   

  • Integrate a signing method and the native signing libraries   
  • Add or pass the private key for transaction signing    
  • Know the ERC20 smart contract address and function name and parameters   
  • Understand and calculate Ethereum fees for the transaction    
  • Code to a valid Ethereum transaction in the native format to invoke the smart contract function    
  • Perform transaction signing with the signing method above   
  • Connect to the node with the node’s own API   
  • Send the signed transaction    
  • Consult a Blockchain explorer website to check the confirmation status of the transaction   

And to do another transaction on XRP Ledger or Bitcoin, all of the same steps would have to be done again (bar the smart contract parts) with different configuration and code.   

Overledger 2.0 simplifies the whole process. Now developers just need to:   

  1. Add a private key to the SDK (or signing service in 2.2)
  2. Call the endpoint https://api.overledger.io/payment with the required information: 
  • From Address: Sending Address    
  • To Address: Recipient Address    
  • Type: e.g. ETH, USDC, QNT    
  • Network: e.g. Ethereum, Ropsten     
  • Urgency: Overledger will handle fee calculations for each network based on desired urgency of the payment    
  • Optional: Callback URL – status updates will be sent direct to the application as the transaction confirms on the DLT  

This single API call works across all the supported DLTs. To do a transaction on XRP Ledger or Bitcoin, only small modifications need to be made. Developers just need to change the “Type” to BTC or XRP and the “Network” to the relevant Bitcoin or XRP Ledger TestNet or MainNet.  

Overledger 2.0 puts new and powerful tools in the hands of our developers. But we’re not stopping there. We plan to add more functionality to our framework all the time. In the future, there will be enhancements to ERC721 asset transfers, escrows, cross-DLT atomic swaps, cross-DLT asset transfers and much more.

Gilbert Verdian
CEO of Quant

Find out more and get started today by visiting:
https://developer.quant.network

Updated on July 2, 2021

If you find any broken links or pages please contact any admin from Council to let us know. Help us help you.