celo-org / ganache-cli Goto Github PK
View Code? Open in Web Editor NEWFast Ethereum RPC client for testing and development
License: MIT License
Fast Ethereum RPC client for testing and development
License: MIT License
I am using the truffle hd wallet provider to deploy to alfajores and baklava networks. But when i use celo ganache and supply a seed phrase like
npx @celo/ganache-cli -m "your seedphrase goes here"
It will load the seedphrase but with the ethereum derivation path instead of the celo one. This yields to interesting results when switching networks ;)
HD Wallet
==================
Mnemonic: your seedphrase goes here
Base HD Path: m/44'/60'/0'/0/{account_index}
// celo's derivation path!
const celoDerivationPath = "m/44'/52752'/0'/0/";
new HDWalletProvider({
mnemonic: getMnemonic("local"),
providerOrUrl: `http://localhost:8545`,
derivationPath: celoDerivationPath,
}),
Celo transactions sent to a locally running ganache chain should be processed without throwing an error.
I am getting: Error: Number can only safely store up to 53 bits
errors when calling goldToken.approve
using the Ledger address.
I am getting: Error: Number can only safely store up to 53 bits
errors when calling goldToken.approve w/ contractkit using the Ledger address.
I am not getting any errors if I run the same code using non ledger regular local account.
I am testing against local @celo/ganache-cli instance. I am suspecting, something isn't working properly with Ledger transaction signing against local ganache-cli instance and the error message is just misleading maybe?
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.