Truffle - Develop | Test | Compile and Deploy Smart contracts

  Рет қаралды 5,538

Tech Spectrum

Tech Spectrum

Күн бұрын

In this video I've explained how to create a project using truffle, how to use the pre built truffle boxes to save time and get things done faster, how to compile a solidity smart contract and generate ABI files, how to deploy your smart contracts to your local blockchain ( ganache ) and how to interact with truffle console.

Пікірлер: 24
@johnkinabo9874
@johnkinabo9874 Жыл бұрын
Thank you brother, great video, keep them coming🔥
@techspectrum2
@techspectrum2 Жыл бұрын
I’m glad you liked it John 💛
@kamilwolskyx
@kamilwolskyx Жыл бұрын
Great video! Keep going bro!
@techspectrum2
@techspectrum2 Жыл бұрын
Thanks Kamil 😊, I’m glad you liked it
@johnathanoverton6122
@johnathanoverton6122 2 жыл бұрын
I've been following the for dummies book. I was having a difficult time understanding how to edit the truffle-config.js. Thank you.
@techspectrum2
@techspectrum2 2 жыл бұрын
I’m really glad it helped Johnathan 👍
@ibtehaj95
@ibtehaj95 Жыл бұрын
Just to be sure. truffle init and truffle unbox metacoin were two independent processes and could have been done without the other. The real matter in this tutorial was using the unbox command a deploying the contracts. Thank You. I had my own contract file and I had to add it to the migrations file by doing this before running migrate: const ConvertLib = artifacts.require("ConvertLib"); const MetaCoin = artifacts.require("MetaCoin"); const voteContract = artifacts.require("voteContract"); module.exports = function(deployer) { deployer.deploy(ConvertLib); deployer.link(ConvertLib, MetaCoin, voteContract); deployer.deploy(MetaCoin); deployer.deploy(voteContract); };
@techspectrum2
@techspectrum2 Жыл бұрын
Exactly, they’re two independent commands
@mrmaahi4945
@mrmaahi4945 11 ай бұрын
Great video, thanks man !
@muhammadfirdauskurniawan7874
@muhammadfirdauskurniawan7874 Жыл бұрын
bro i have issue in truffle test and get using " network development" in terminal for passed
@techspectrum2
@techspectrum2 Жыл бұрын
Can you share some more details?
@muhammadfirdauskurniawan7874
@muhammadfirdauskurniawan7874 Жыл бұрын
@@techspectrum2 I think for the detail should with image, and how I can share with?
@priyankgupta
@priyankgupta 2 жыл бұрын
Great video Tamim. Really useful. By the way, what tool are you using to make those notes on the screen?
@techspectrum2
@techspectrum2 2 жыл бұрын
Thanks Priyank, I’m glad you like it. That’s a really cool website called Excalidraw 👇 excalidraw.com
@MartinMarchev
@MartinMarchev Жыл бұрын
Thanks for this tutorial!
@techspectrum2
@techspectrum2 Жыл бұрын
I’m glad you like it 😊
@Madiha456
@Madiha456 2 жыл бұрын
Its a very nice video✌ but sir could you make a video on how to connect it to infura as well.
@techspectrum2
@techspectrum2 2 жыл бұрын
Thanks a lot, yeah sure
@TwoVera
@TwoVera 2 жыл бұрын
What about testing with custom error messages in javascript? For example in sol contract I can define error ZeroAddress(); then in my code do if(msg.sender==0) revert ZeroAddress(); How do I test against this in javascript? No one seems to be talking about this :|
@techspectrum2
@techspectrum2 2 жыл бұрын
That’s a really good question 👍, I’ll prepare a video on that as well.
@MelodyofEarth
@MelodyofEarth 2 жыл бұрын
Thanks brother 🌹
@techspectrum2
@techspectrum2 2 жыл бұрын
💛
Interact with smart contracts using truffle console
18:34
Tech Spectrum
Рет қаралды 1,3 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Introducing Truffle for VS Code
11:53
Truffle Suite
Рет қаралды 2,9 М.
Create, deploy & test a Solidity smart contract using Truffle
12:52
Ganache and Metamask | Blockchain
19:52
ADCB innovations
Рет қаралды 12 М.
Deploy Truffle Solidity smart contract with Ganache
8:58
MammothInteractive
Рет қаралды 10 М.
Deploy Solidity Smart Contracts with Ganache Personal Blockchain
8:12
MammothInteractive
Рет қаралды 51 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 314 М.