Skip to main content

Questions tagged [truffle-develop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
52 views

When trying to run "Truffle Develop" i get the below error message.....Anyone have any solutions?

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at hash160 (/mnt/c/Users/joeda/AppData/...
Golanger's user avatar
1 vote
1 answer
161 views

Truffle Develop Error

When trying to run truffle develop I get the following access denied error and I'm wondering how to fix this issue. Thank you so much in advance. (base) xxx@xxx-MacBook-Pro smart-contract-30 % ls ...
antharithm's user avatar
0 votes
0 answers
176 views

Hook error using Truffle React box (transforming the App.js from Class component to Functional component)

not an expert Solidity/React user here. I got Truffle React box and I am making a website. My example is very easy. I have this Nav element: import React from 'react'; import Nav from './...
Joncarre's user avatar
  • 281
0 votes
1 answer
810 views

What are the truffle console commands to interact with a mapping function of struct

Im writing a simple smart contract to store and retrieve data of series of patients' name and blood group with an id using mapping function in solidity. I don't know the commands to interact with the ...
hunter21actual's user avatar
0 votes
0 answers
27 views

Error: Returned error: VM Exception while processing transaction [duplicate]

Gettting Error: Returned error: VM Exception while processing transaction function getLatestPrice() public payable returns (int) { ( uint80 roundID, int price, ...
vinod tonda's user avatar
19 votes
4 answers
40k views

Setup Ganache with Metamask. What and where is a Chain ID?

I am following these instructions. The problem is that the above instructions don't mention Chain ID and it appears Chain ID is required to even make it work. Thus, I'm stuck. What is the Chain ID? ...
GN.'s user avatar
  • 643
0 votes
1 answer
235 views

Questions about Truffle console and Truffle develop

When I inputted truffle console, it showed the error: ➜ via-issuer-master truffle console --network interaction truffle(interaction)> var cash = aw /usr/local/lib/node_modules/truffle/build/...
xxs's user avatar
  • 31
0 votes
0 answers
334 views

Failed to use truffle develop

When I successfully compiled and deployed contracts using Truffle and ganache-cli, I typed truffle develop to get into the truffle(develop)>, and then typed let instance = await Factory.deployed(), ...
xxs's user avatar
  • 31
1 vote
1 answer
1k views

Can't connect to local blockchain

Using Truffle, I'm trying to implement my first smart contract by running the MetaCoin webpack. After running Truffle Develop, I can see my list of accounts: Truffle Develop started at http://127.0....
Eric's user avatar
  • 153
3 votes
3 answers
1k views

Get more than 10 accounts in the truffle develop blockchain?

How do we get more than 10 accounts in the truffle develop blockchain ? If someone has an idea about the question in the title, would be of help to many people out there for testing. Thanks a lot.
codestruggle's user avatar
0 votes
3 answers
2k views

Truffle Develop Could not find suitable configuration file

Basically, after I installed the truffle the command: nom truffle -g . Then I went to set up the metamask on the google chrome. Once the metamask is set up then I try the command: truffle develop and ...
Luis's user avatar
  • 1
1 vote
1 answer
1k views

How do I access the owner's funds in the Truffle test environment?

I'm trying to test my simple coin-based contract in the Truffle test environment by sending funds to the first user's address. My understanding is that the contract is created (thereby calling the ...
Jake Armitage's user avatar
1 vote
1 answer
1k views

Error compiling OpenZeppelin imported contracts

I'm running a truffle project and have imported OpenZeppelin contracts. While running truffle compile I'm facing following error: github.com/OpenZeppelin/openzeppelin-solidity/contracts/crowdsale/...
Gagan's user avatar
  • 433
2 votes
1 answer
1k views

How to interact with smart contracts using Truffle console? [duplicate]

This is a super basic question so I apologize in advance, but I am trying to learn how to develop and deploy smart contracts and I couldn't seem to find an up to date answer on this. How do I interact ...
John's user avatar
  • 21