New answers tagged

2

Sure, you can implement your own algorithm to order the txpool. Currently, they order by gas price that make sense for mining incentive https://github.com/ethereum/go-ethereum/blob/6bd896a97f0c86fdb6d0538f5f839d7ea104e888/core/tx_list.go#L374


0

Multisig (multiple signatures) wallet is a common way to collectively own Ethereum address. Basically, multisig wallet is a smart contract with several owners, which performs actions that collected enough owner approvals.


1

Simply, we need to do the same things as ethereum do for their networks on your chain. We have two options: 1. First is do like this answer How to setup constantinople fork for private ethereum chain 2. Modify config in the source code as below step Update the config as relevant with your config.json file in below file Update config.go in https://...


0

I used to develop smart contracts using Windows but last year changed to Windows Subsystem for Linux as kept running into issues with tools that wouldn't work with Windows. Recommend considering using Windows Subsystem for Linux: https://davidburela.wordpress.com/2017/05/12/how-to-install-truffle-testrpc-on-ubuntu-or-windows-10-with-windows-subsystem-for-...


0

That opcode is a recent addition to geth in the Constantinople release. You need to add the following to your genesis to enable Constantinople: "constantinopleBlock":0,


0

Panos, add this code to your javascript file and change networks to your custom RPC from your metamask. After that, you will be connected to your localnode from your browser. window.addEventListener('load', async () => { // Modern dapp browsers... if (window.ethereum) { window.web3 = new Web3(ethereum); try { // ...


0

So, after a lot of guessing and trying, I experimented switching geth and solc versions. I did that because I remember doing these stuff last year, and didn't have to go through so much hassle. In the end, only switching solc version was enough. I replaced my solc version and repeated everything I had previously done, exactly the same way, and it worked. I ...


Top 50 recent answers are included