Questions tagged [truffle]

Development environment, testing framework and asset pipeline for Ethereum

Truffle is a development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier. With Truffle, you get:

  • Built-in smart contract compilation, linking, deployment and binary management.
  • Automated contract testing with Mocha and Chai.
  • Configurable build pipeline with support for custom build processes.
  • Scriptable deployment & migrations framework.
  • Network management for deploying to many public & private networks.
  • Interactive console for direct contract communication.
  • Instant rebuilding of assets during development.
  • External script runner that executes scripts within a Truffle environment.

Github Repository

Official Website

1088 questions
-2
votes
1 answer

Not able to download truffle

I am trying to download truffle by typing "npm install -g truffle" on windows 10 with the visual studio terminal but i dont know why i get these messages. I already have installed NodeJS. I apologise for my bad english. PS…
Luca Li
  • 11
  • 1
  • 5
-2
votes
2 answers

Truffle HDWalletProvider alternative?

Is there any other alternative to HDWalletProvider that imports MetaMask's accounts via the 12 word mnemonic? Thanks in advance for the info.
gsiros
  • 40
  • 1
-2
votes
1 answer

Retrieving data from blockchain

I am working on a project in which I need to upload some data such as an image, text file etc to a Ethereum Blockchain and to retrieve it later using some kind of a block hash which I want to store in a Database. Can you please suggest me how can I…
-2
votes
1 answer

Is it better practice for a React Dapp to a call a Smart Contract using Drizzle or Web3?

For my React Dapp to call my smart contracts running on the ethereum block chain, is it better practice to use the Drizzle framework or call Web3 directly?
Kojof
  • 429
  • 7
  • 15
  • 23
-2
votes
2 answers

"node run dev" can't work ,how to fix it?

I want to run "truffle serve" which linked to localhost:8080. But get this error message Then I tried to find the problem which may be the version of truffle. I tried "npm run dev". But failed with this message. How can I solve the problem?, please…
jianwei
  • 3
  • 5
-2
votes
2 answers

Trying to install truffle on Windows 10 by "$npm install - g truffle" Got a bunch of problems

$ npm install -g truffle npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use …
Zachary
  • 1
  • 1
-5
votes
1 answer

How to pass constant solidity address variable to tests in JS

My constant address is: const addr = '0xcd3b766ccdd6ae721141f452c550ca635964ce71'; And my solidity contract is as follows - function temp(address _myAddress) { // some code } How to pass this constant address to JS tests
1 2 3
72
73