I want to get the value that is inside of struct in Solidity, but I have no idea how to get it. pragma solidity >=0.4.21 <0.6.0; contract PlaceList {
I have built a react app using a truffle box that uses create-react app. I can get the app running on my local host but I can't see it on my VPS when I go to th
I have been trying to install truffle in my Ubuntu 18.04 machine with nodejs version 8.10.0 and npm version 3.5.2, but it shows the error as below. loadDep:orig
I am developing a React app with Truffle and when I call the function from the contract I get the following error: Uncaught (in promise) DOMException: Failed to
I'm getting an error when trying to build my React project: ./node_modules/ethers/utils/web.js Module not found: Can't resolve 'xmlhttprequest' in '/mnt/c/User
I'm trying to run Java code dynamically inside a Java application using Truffle from GraalVM, without success. Settings I'm working on MacOs 11.5.2. I've follow
I am getting an error while running the command npm start. The file is created in PancakeSwap Frontend and I've been trying to fix this for a while, thanks for
Background information: I run macOS 10.14.6. I just started my programming journey so please forgive me if my questions are not rock solid... Grateful for your
I am trying to connect to a smart contract deployed using Truffle. I am using Web3 from a React app but when I make a call to any of the contract functions I al
I tried running $ npm install -g truffle and $npm install but it was constantly freezing at a particular point. I also tried command yarn global add truffle but
I faced a VM Exception while processing a transaction: out of gas error in contract. Here's my truffle-config.js file: development: { "http://127.0.0.1:8545
I get this Truffle error when I compile. I have tried adding payable to the addresses but it won't work. This is the error: TypeError: Member "transfer" not fo
Hooking up IPFS to my Truffle React project is causing me issues. I'm getting a dependency error (I'm thinking that's what's going on) that I can't find anythi
I try to run solidity coverage for testing test case and its coverage but when I run coverage command its give error like this : - command used (truffle run cov
I have two contract, I write in in one file, named Sum.sol. The sum contract invoke Add contract. I just want to test cross-contract invoking. If I didn't put t
I trying to compile my atom code through the Mac terminal and I received this error: Error parsing /Users/owner/Desktop/contracts/contracts/ApprovalContracts.so
I’m now developing a simple Dapp using Truffle. When command npm run dev is submitted, the console mode changes as below. Therefore, even though “c
const wallets = [accounts[2],accounts[3]]; const shares = [2,1]; return deployer .then(() => { return deployer.deploy(
I encounter the following error while trying to run a dapp made using React, Truffle & Ganache. I'm also using web3 version 1.7.1. The problem is that the c
I tried npm node-gyp -g but it didn't help. I am trying to install truffle in my mac. I am using mac os Catalina, node version 16.13.1, and npm version 8.1.2 np