Using Truffle-contract to communicate with smart contracts

Julien Klepatch

In this video, I will introduce you Truffle-Contract, a library that is used by Truffle to communicate with smart contracts. When you use test smart contract with Truffle, that’s the library that is used by default by Truffle for your interactions with smart contracts (deployment, transaction and call). You can also use Web3 if you prefer of course, but it’s important to also understand how Truffle-Contract work, and what are the differences the Truffle testing framework,


Leave a Reply

More great articles

Debugging “VM Exception: invalid opcode / revert”

When I started learning Solidity, there was nothing more frustrating than running accross "VM Exception: invalid opcode" or "VM Exception:…

Read Story

Introduction To Truffle | Episode 5 Developing smart contracts and distributed applications is hard. There are a lot of different libraries to use, you often…

Read Story

Basic testing workflow with Truffle – Part 2

In this video, we will go through the whole process of test-driven-development (TDD) for Solidity smart contracts: writing the tests…

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"]