fbpx

How to import Solidity ABI to Dapp frontend? 4 Solutions

Julien Klepatch

When you develop a Dapp, you need the Solidity ABI of your smart contract in order to configure web3 to interact with your contract.

This Solidity ABI is a json document produced by the Solidity compiler. You could just copy paste it to the frontend, but it can get very tedious and error-prone, particularly during development when the ABI of the smart contract can change often. Is there a better way? yes!

In this video, I will show you 4 development-friendly solutions to import a smart contract ABI to your Dapp (including with webpack and webpack-solidity-loader):

0 Comments

Leave a Reply

More great articles

Unit vs integration tests for smart contracts

Before you rush into testing your Solidity smart contracts, it's important to understand the difference between unit tests and integration…

Read Story

ToDo List Ethereum Dapp (Step4) | Setup The Frontend & Read Account Data

https://www.youtube.com/watch?v=hUjpPNChdq4&t=138s This tutorial is part of the series ToDo List Ethereum Dapp. It is the Step 4. Tutorials already published:…

Read Story

Testing integers in smart contract with Truffle and bn.js (Big Number)

In Solidity smart contract, you might have to deal with huge numbers, especially when doing financial transfers. Don't forget that…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]
Arrow-up