dethcrypto / deth Goto Github PK
View Code? Open in Web Editor NEW☠️ Ethereum Node focused on Developer Experience
License: MIT License
☠️ Ethereum Node focused on Developer Experience
License: MIT License
The config documentation shows config of the form:
blockchain: {
accounts: {
privateKeys: [],
initialBalance: new BN(10000).pow(new BN(18))
},
chainId: 420
},
however the latest version 0.0.5, appears to require config of the form:
accounts: {
privateKeys: [],
initialBalance: new BN(10000).pow(new BN(18))
},
blockchain: {
chainId: 420
},
I think this project could benefit from integration with OpenRPC which provides a base foundation for service discovery and tooling such as documentation and client generation, typings (typescript/rust), etc, for JSON-RPC akin to OpenAPI/Swagger.
Here is an example of an ethereum node with the OpenRPC playground, it gets the OpenRPC Document via calling the rpc.discover method:
https://playground.open-rpc.org/?schemaUrl=https://services.jade.builders/core-geth/mainnet/1.11.2
Let me know how I can help.
Private key 0x7ab741b57e8d94dd7e1a29055646bafde7010f38a900f55bbd7647880faa6ee8
should generate account with address0xD9995BAE12FEe327256FFec1e3184d492bD94C31
however atm it returns 0x39753A8556C680b32088f487A1c6F02C8667db47
This is the case for all 10 test accounts I'm using
Gas estimation is tricky.
gasUsed
amount is not the same as the amount of gas required for a transaction.CALL
) 1/64th of the current gasLeft is withheld from the CALL. This has a strange side effect that can cause the CALL
(et al) opcode's internal context to run out of gas, even if the transaction itself DOES have enough gas (i.e., gasLeft - gasUsed >= 0
).gasLimit
of a transaction can cause the transaction's gasUsed
as well as the required gas to vary.@nicholasjpaterno, did I miss any other tricky cases?
Take a look at ganache-core's gas estimation algorithm for implementation details.
I don't think that currently, we should spent time working on json/yml version of the config
Some dependencies (like ethereumjs ones) seem to be severely outdated. There also have been no commits since Oct 2021. Is this project still maintained?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.