All Questions
Tagged with ganache ethereum-wallet-dapp
14 questions
1
vote
1
answer
1k
views
Unhandled Exception: Connection refused - Truffle Ganache Connection with Flutter
I am getting this error when trying to link a smart contract deployed on a Ganache local blockchain with Flutter web3dart package.
Note: Testing on android (both emulator and physical device give the ...
0
votes
0
answers
474
views
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)
const fs = require("fs-extra");
async function main() {
//http://127.0.0.1:7545
const provider = new ethers.providers.JsonRpcProvider(
"http://127.0.0.1:7545"
);
const ...
0
votes
1
answer
186
views
Is there any way to create an account in ganache server with dart?
I'm trying to create a Dapp with flutter which creates a blockchain account using the signup details provided by a user.
I'm trying with web3dart package and using ganache server.
0
votes
2
answers
314
views
TypeError: Greeter.deployed(...).greet is not a function
Getting error
Code:
address payable owner;
constructor ()
{
owner= payable(msg.sender);
}
function kill() public
{
if(msg.sender== owner)
{selfdestruct(owner);}
}
}
...
0
votes
0
answers
547
views
How to debug this metamsk error ? - Error: [ethjs-rpc] rpc error with payload:
I have a DApp integrated with metamask and ganache, front-end built on react. I am getting this error when I interact with the smart contract from front-end, contract send calls. Smart contract ...
3
votes
1
answer
310
views
Ethereum Signing using HSM
I tried signing a Message using the SHA256withECDSA algorithm . It gives a different signed(r,s) output everytime. When i try to recover the address using the ecrevover method .it gives me a different ...
-2
votes
2
answers
480
views
Can I make a proper website by using ganache and truffle? Like maybe abc.com?
I have developed a voting system usinh dapp that runs on local host. It uses accounts from ganache and metamask for transactions of votes. Now if i want to buy a domain and make the thing work, is it ...
1
vote
1
answer
858
views
I got this error during truffle testing. AssertionError: it returns true: expected { Object (tx, receipt, ...) } to equal true
DappToken.sol
function transfer(address _to, uint256 _value) public returns (bool success){
require(balanceOf[msg.sender] >= _value);
balanceOf[msg.sender] -= _value;
balanceOf[...
0
votes
2
answers
604
views
How DApp actually talks to Ganache ethereum node?
Both Metamask and web3.js seems to be enabling a DApp communicates to a remote ethereum node.
There are a few different aspects to developing blockchain applications with Ethereum:
Smart contract ...
1
vote
1
answer
359
views
Installing Ganache GUI on windows 8.1
How to install Ganache UI on windows 8.1 ?
I downloaded from Official website but after downloading i am unable to install it on my machine.
I tried to install it through power shell but facing ...
2
votes
3
answers
4k
views
Metamask won't display correct balance after creating customrpc for ganache accounts
I made a customrpc network on metamask using the correct server and imported a private key from ganache, which worked but the eth balance is displaying 0 when I expected it to display 100.
According ...
0
votes
1
answer
1k
views
How can we assign unique hash id to the id that created inside our smart contract in ethereum?
I am using truffle, ganache and web3. I am initializing user id in smart contract while deploying the smart contract. As of now, everything is done by account[0] of Ganache.
Now, I want functionality ...
0
votes
0
answers
20
views
How to use bytes to get the same hashed output [duplicate]
I previously asked a question here: link to previous question.
Found out the answer is to use string instead of bytes here:
pragma solidity ^0.4.18;
contract C {
bytes32 public temp;
...
1
vote
1
answer
834
views
Ganache Cli private network, all ethers on the network go to 0 after a while
I create a ganache cli and initialize my accounts to have ethers using
ganache-cli -h "159.89.119.189" -a 3 -e "1000000000000000000000000000" --secure -u 0 -u 1 -u 2 -s 20
but after a couple of ...