blockchain Questions
5
I know this is a pretty common question but all the answers on the web are not working for me.
I have a php and js app working in Laravel with React and Vite, and I dev on Windows (cmd). I worked w...
Lancelle asked 4/11, 2023 at 9:33
2
I am looking for a way to simulate a 1000 node bitcoin network on my private LAN/Wifi network.
I read the developer's guide: https://bitcoin.org/en/developer-examples#regtest-mode which mentions ...
Polarization asked 22/10, 2015 at 2:18
2
Solved
I've been working with solidity and truffle for a few days to develop a contract. I'm testing using the network created by Ganache an RPC client for build a local blockchain enviroment.
There is on...
Cameleer asked 9/1, 2018 at 12:1
9
Solved
I want to connect to ganache and I get an error that I don't know how to solve it. here is my deploy.js code which is script node.js
const ethers = require("ethers")
// const solc = req...
Capitulary asked 10/7, 2022 at 10:31
8
When I type this in the command prompt:
solana airdrop 2 -k ./Wallet/.config/solana/Seller.json
I get this error
Requesting airdrop of 2 SOL
Error: airdrop request failed. This can happen when the...
Doi asked 18/2, 2022 at 1:15
3
I am trying to get proper public address for Solana wallet using solana-web3.js at my react-native test project
import { Keypair} from '@solana/web3.js';
import * as bip39 from 'bip39';
import * as...
Sedentary asked 20/9, 2021 at 2:47
5
Solved
I'm attempting to use the private key I generated using the Solana command-line to create a wallet in JavaScript / Node.
I want to use the web3.Keypair.fromSeed() method.
Here are the steps I've ta...
Heathcote asked 24/10, 2021 at 23:39
4
Solved
In Solidity we have four types of access. Two of them are private and internal.
What is the difference if both of them can be used inside smart contract and both of them are not visible after deplo...
Grapher asked 18/11, 2021 at 12:38
4
Solved
File "f:\drug-traceability-blockchain-maddy\src\app.py", line 2, in <module>
from web3 import Web3,HTTPProvider
File "C:\Users\Swapn\AppData\Local\Programs\Python\Python311\...
Straitjacket asked 7/12, 2022 at 3:22
5
If a smart contract has the compiled bytecode for a contract can the first deploy a subsequent contract?
According to Ethereum.org:
"To deploy a smart contract, you merely send an Ethereum tra...
Pless asked 3/12, 2021 at 3:13
4
I am getting the
Property 'ethereum' does not exist on type 'Window & typeof globalThis'
error in React. This is the line generating the issue:
import { ethers } from 'ethers'
const provider...
Stapleton asked 2/2, 2022 at 18:50
4
Please how can I fix this problem? Someone should help.
CompilerError:Stack too deep. Try compiling with --via-ir (cli) or the equivalent viaIR: true (standard JSON) while enabling the optimizer. O...
Krauss asked 26/11, 2022 at 0:43
2
Followed the installation steps provided here
https://docs.substrate.io/tutorials/v3/create-your-first-substrate-chain/
Steps taken with node version v16.14.0
git clone https://github.com/substrate...
Klara asked 26/2, 2022 at 8:4
11
I have a couple of keccaks, which could be reduced to one if I would find a cheap way to get parts of the created uint.
pragma solidity ^0.4.19;
contract test {
function test() {
}
function su...
Vintner asked 18/2, 2018 at 6:3
7
I tried to create my first substrate chain. Create Your First Substrate Chain
But I got some error while compiling substrate.
failed to run custom build command for librocksdb-sys v6.11.4
Does anyb...
Replay asked 11/3, 2021 at 13:40
3
Solved
I am using tron web to query transactions of an address but it does not return transactions sent to that address where token transferred is TRC20.
This does not work.
I want to get the transaction...
Bellew asked 19/11, 2019 at 18:18
1
I have all 150GB Bitcoin blocks now what? How to open them and read them in Python? I need to extract all used hash160 so far
I tried to open them with Berkeley DB but no success it seems these fi...
Assiniboine asked 24/8, 2017 at 17:0
2
I am trying to check the balance of a given Bitcoin address by using ONLY the locally stored blockchain (downloaded via Bitcoin Core). Something similar to this (by using NBitCoin and/or QBitNinja)...
Svelte asked 7/12, 2016 at 21:31
4
Solved
I was trying to get keys of a mapping to star name and address of particular contract (not exactly) in solidity contract
mapping(string=>address) nameOfAccounts;
What i am expecting is a method...
Chopper asked 1/1, 2021 at 12:28
2
I'm trying to follow this procedure https://docs.substrate.io/tutorials/build-a-blockchain/build-local-blockchain/#start-the-local-node to start the local node. But it always gives me the error:
➜ ...
Palpitate asked 7/4, 2023 at 4:25
6
I understand bitcoin uses blockchain technology to maintain a decentralised ledger of all transactions. I have also read many posts eluding to future applications of blockchain technology, no...
Hagan asked 25/7, 2016 at 1:54
14
I installed truffle through npm with the following:
sudo npm install -g truffle
but when I run truffle list on the console it just gives me
bash: truffle: command not found
Ereshkigal asked 1/7, 2016 at 14:58
1
Solved
I would like to connect Remix - Ethereum IDE (https://remix.ethereum.org) to localhost.
I followed the instructions https://remix-ide.readthedocs.io/en/latest/remixd.html#update-to-the-latest...
Sukhum asked 20/4, 2023 at 17:53
5
Solved
I am trying to send ETH from one account to another but the conversion from ETH to WEI keeps giving me headaches. In this case, I am trying to send 0.11 ETH but in the confirmation window, I get 31...
Liechtenstein asked 2/2, 2022 at 12:17
4
I am getting the following error while trying to deploy a Mock contract on the hardhat development chain.
I am following:
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScrip...
Maharanee asked 1/6, 2022 at 13:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.