Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [private-blockchain]

Private blockchains are not available for the public and are maintained/secured by a cluster of trusted nodes. These kind of blockchains are useful when dealing with sensitive information.

0
votes
1answer
16 views

Multiply small rational number to obtain integer piece

I'm trying to make some advanced calculations in Solidity. I was able to successfully implement the algorithm on my contract, but its results are way below zero, and whenever I try to get it with ...
0
votes
0answers
11 views

How to stop the update check for the mist in ubuntu

i'm deploying my private chain in Ubuntu16.04, everything works fine, and i can connect to the node by the command mist --rpc /geth.ipc,but when i have to connect the private chain and mist offline, ...
0
votes
0answers
18 views

Why would a node stop updating chain?

I am running a private network and one node seems to have stopped updating its chain. It is stuck at block 264 while the others are hundreds past it. It is still connected to the network, but it has ...
1
vote
1answer
32 views

TX fails in private blockchain when trying to access an ERC20 contract from another contract

I have an ERC20 contract and I am trying to access it from another contract, which is a Faucet. In the Faucet I have a function to query an account's balance, and another one to transfer some tokens ...
0
votes
1answer
12 views

When is chain data (length) compared between nodes? Is there any way to control this?

I am trying to use an ethereum blockchain in a multiagent network. I would like to control when information is exchanged between nodes to keep the network synchronous, so I am trying to figure out how ...
0
votes
0answers
23 views

Unable to interact with Smart Contract using Ethereum node Javascript console

I deployed a smart contract and to interact with that I've written Javascript. When I use loadScript('requestor.js') in my geth console I'm getting the following error Line 236 in my code is ...
1
vote
1answer
23 views

Static difficulty in 1.8.27 for local network

I am having trouble getting geth 1.8.27 to have a static difficulty on a private network. I followed the instructions from here. But when I test it, the difficulty still increases. I tried again, ...
0
votes
1answer
36 views

Can I store data like an excel file on the Ethereum?

I am a university student studying Ethereum in South Korea. It is not a regular course but a personal study due to interest! I would like to make a conceptual diagram of 'Smart Factory' using private ...
2
votes
1answer
22 views

GUI miners for Private Ethereum Blockchain

I have setup a multinode private Ethereum blockchain with geth. I am using geth miner (miner.start(thread) at geth console) for mining blocks but my other nodes users want to use GUI miner instead of ...
1
vote
2answers
20 views

Predefine set of transactions to be added as soon as a private chain is initialised

I need some transactions with predefined data that needs to be added immediately after the genesis block. Apart from actually making those transactions through Geth, is there a way to automate these ...
0
votes
0answers
10 views

On an Ethereum private chain, can the rewards of mining be user-defined? [duplicate]

I have created my Ethereum private chain via Geth. I noticed that the rewards to block miners are pre-set as 5 Ether. Can I change this setting?
0
votes
1answer
26 views

Is it possible to modify privateFor addreses in a private Smart Contract (Quorum)?

I know how a private smart contract works providing a list of accepted addreses to privateFor property, but what if I want to disable (or enable) any address visibility? Should I deploy a new Smart ...
0
votes
1answer
40 views

How to show partial information on private transaction?

I want to achieve the following requirement in quorum blockchain. 1) Participant A sells a red asset to Participant B for 100 dollars. 2) Participant B paints the asset blue. 3) ...
1
vote
0answers
22 views

Transaction included in block whereas log not generated

When I sent a transaction continuously below 27 Transaction Per Second (TPS) then all transaction is included in a block and generated the log as expected. Whereas When TPS increases above 27 then ...
1
vote
1answer
13 views

Can ganache-cli connects to another ganache-cli?

Is it possible to create a private network using ganache-cli? Can a ganache-cli running on port 8545 connect to ganache-cli running on port 9545? Can we use ganache-cli as a node? Or it is a ...
0
votes
0answers
19 views

Using traditional identities on a private Ethereum blockchain & wallet-less usage

I am trying to integrate a DApp (typical solidity, web3.js setup) running on a private Ethereum blockchain with a traditional enterprise user directory (let's say Azure AD). The idea would be : at ...
0
votes
2answers
18 views

connect users to the sidechain SKALE

SKALE is Ethereum Dapps to run high speed, Low cost smart contract layer. I wish to connect users to the sidechain SKALE,from their browser. automatically without the manual change as necessary for ...
0
votes
1answer
9 views

Can Hyperledger Fabric Blockchain Supports Partial Transaction Encryption?

My use case is that we need to protect only sensitive data in the transaction in blockchain. But we want to open other data in the same transaction to the public, Can Hyperledger Fabric supports the ...
0
votes
0answers
37 views

Get RPC URL / IP of Metamask's current provider

Suppose I have multiple copies of the same dapp running on different servers which do not directly communicate with each other, for testing purposes, and can manually interact with different dapp ...
1
vote
0answers
18 views

Transaction sent from web3 cannot reached all transaction to network node

I used one node endpoint to interact with the network. While sending a transaction from web3.js 0.20 to ethereum network, transaction per second (TPS) I achieved is only 28 TPS. I have configured the ...
1
vote
0answers
51 views

Smart contract will not deploy to my private blockchain when using Remix IDE

So I'm a complete newbie and trying to deploy my first smart contract to a local Ethereum blockchain. I'm doing this on a Windows machine. I have created a private blockchain using geth, made an ...
0
votes
1answer
20 views

Custom miner checks in a private chain?

I have used the ideas from the link [1]How to make miner to mine only when there are Pending Transactions? in my private chain. I have a couple of questions, - How can I add custom code on the miners ...
2
votes
2answers
27 views

Create multiple tokens and manage multiple wallets from the platform

I'm new to blockchain and Ethereum, I currently started researching about to work on a new project. I wanted to ask for advice on what should I use or what it will fits better for my use case: In my ...
0
votes
0answers
32 views

How to create an ethereum private network with proof of authtority without gas cost or gas price zero?

I want to create a private network but I don't need to use ether or gas, only I want to run smart contracts and the blockchain using ethereum technology. I find this tutorial Private proof of ...
0
votes
1answer
14 views

Is a PoW-based Ethereum private chain a permissioned blockchain?

If I creat a ethereum private chain through geth. Is the Ethereum private chain a permissioned blockchain?
1
vote
1answer
26 views

What is the philosophy behind the difficulty setting and block generating time?

We know that on the Ethereum mainnet, generating a block always costs about 15 seconds in order to maintain the synchronization. Yet, why it is set to 15 seconds but not a larger or smaller value? ...
0
votes
0answers
25 views

Unable to Synchronize raspberry pi node my private network

I have created a private network with 3 nodes - two nodes in computer and one in raspberry pi I connected computer and raspberry pi to same network through LAN computer ip: 192.168.122.1 pi ip ...
0
votes
1answer
77 views

What's problem about “gas required exceeds allowance or always failing transaction”

I translate smart contract into Java with solc and web3j, but I meet the probelm "gas required exceeds allowance or always failing transaction". This is my smart contract. It is work when I use ...
0
votes
0answers
34 views

Can read from smart contract but can't write

I have a app.js script that I am trying to use to interact with a smart contract. I can read from the contract however, I cannot write to it. The called method countMessages() returns the correct ...
0
votes
1answer
32 views

Automatically Run Contract

I have a private ethereum network made up of multiple nodes and I would like one of them to interact with the a deployed smart contract without my input. Is it possible for create a script that will ...
2
votes
1answer
30 views

How can you deploy a contract using the non-interactive mode?

I have a contract written in remix, but I am trying to deploy it using Geth's non-interactive mode using geth attach ipc:<path> -exec "<contract deploy info>". When I am in interactive ...
0
votes
0answers
22 views

Error: invalid merkle root | Error in XDPoS Consensus | fork of go-ethereum

Block Synchronisation failed in code :- https://github.com/XinFinOrg/XDPoS-TestNet-Apothem ERROR[03-23|19:47:12] #### BAD BLOCK Chain config: {ChainID: 1151 Homestead: 1 DAO: DAOSupport: false ...
3
votes
2answers
65 views

Can we do ethereum transaction for free on private blockchain

I am very new to ethereum Blockchain. Please give some suggestion regarding one query regarding gas fee. Can we do ethereum transaction and smart contract deployment for free on private blockchain ...
-1
votes
1answer
36 views

Blockchain usage in smart home

I am currently gathering information for my thesis about smart home implementaton with a use of blockchain. The blockchain usage is a requirement from my thesis supervisor and I have huge problem with ...
6
votes
1answer
125 views

Deploying contract with no cost (gasPrice 0) on private network

In order to achieve a no-coin bootstrapping of my private network I'm trying to deploy a first special contract having zero funds in owner wallet (every wallet of this private network should have zero ...
0
votes
0answers
18 views

Inconsistency after restarting EthereumMiner, using AWS Blockchain Template for Ethereum

I have deployed the AWS Blockchain Template for Ethereum stack (the ECS version). There is 1 miner and 2 clients (default stack). I realized that I don't have access to the default accounts set in the ...
0
votes
0answers
18 views

Private Chain Gas Zero [duplicate]

Is there a way to make transactions costless on a private Ethereum network? I am already limiting who can interact with the deployed smart contracts and who is a member of the network with code. I ...
0
votes
0answers
50 views

Issue calling one contract from another using Quorum

I'm using truffle and running locally with 4 quorum nodes, trying to call another contract's function, but keep getting 0 in return instead of the expected value the I get once calling the contract ...
0
votes
2answers
21 views

Private Chain Peering and Port Problem

Two AWS nodes on separate machines are trying to peer. They are listening and discovering at port 30303, when I open these ports for inbound connection they are still unable to peer; but, when I open ...
1
vote
2answers
26 views

Can't add peers outside of local machine

I am able to spin up as many nodes on the same machine as I would like and have them peered in the same private blockchain network. But when I try to use addPeer() on a separate EC2 instance, I am ...
0
votes
0answers
30 views

Private blockchain losing access to older blocks

So, my private blockchain became out of sync and one of the nodes reset to block 0 – it then synced up with the other nodes. The node that went to block 0 is the node that is providing the rpc port ...
0
votes
1answer
100 views

Peers not syncing on PoA private network

I've got a private network with two PoA geth nodes, with each node running on a separate machine. One node has been running for some time (in instamine mode) and has mined 6909 blocks. I've just setup ...
0
votes
0answers
16 views

Is there a node-static.json file for swarm node?

As far as I am aware of a static-node.json is a file for P2P geth node connection on disconnect. I have tested that and It works just fine. I was, therefore, wondering if it is possible to have such a ...
0
votes
1answer
37 views

Instant Transactions: Private vs Public Blockchain

I have been developing a smart contract with solidity. My question is related to the deployment of smart contracts. I have studied and followed answers in the following links: Main Network vs Private ...
1
vote
0answers
16 views

Adding two peers in ethereum privatenet on same machine

I am trying to add two peers in ethereum privatenet but not adding its shows peer count is 0. I run the below commands Node1: geth --identity "Privatenet1" --datadir=./Privatenet1 --networkid 1995 --...
1
vote
2answers
62 views

Create a blockchain platform to store students and its degree results on it [closed]

I would like to create a application on blockchain where i will store all students data and their results on blockchain So anyone having a idea how can i do that or is that feasible to create a that ...
1
vote
3answers
36 views

What mechanism to use to pay for viewing another users data on blockchain

I am new to blockchain development and following some tutorials I have created a DApp that allows a user to save and view information. Now, i want to let another user view that saved information but ...
0
votes
1answer
81 views

ethereum-bridge oracle on private network does not receive queries

I have a private network with a few nodes and I have installed ethereum-bridge to deploy an Oracle. One of my blockchain nodes is used by ethereum-bridge to deploy the oracle. The node is started ...
0
votes
0answers
25 views

API for private state

assume that I have a private smart contract between peers A and B using quorum blockchain. Then, the variables of the smart contract will be placed in the private state. My question is: Can I make ...
1
vote
2answers
122 views

Geth Proof of Authority Implementation

I have implemented PoA on private blockchain with following genesis.json. { "config": { "chainId": 1515, "homesteadBlock": 1, "eip150Block": 2, "eip150Hash": "...