Thank you, so instead of using deploy() from web3 I'll use this? I would like to keep the number of packages to a minimum but this looks like it does the job cleaner than web3
George Spasov
@Perseverance
Most of the things do a cleaner job than web3 :D
dtmle
@dtmle
web3 is a joke of a library, but it does its job haha. I hate web3
ctrlventure
@ctrlventure
@Perseverance Hi, i just saw your comment reply on stackexchange so here i am to see if you can help me out with the "TypeError: Cannot read property 'actions' of undefined" i'm getting on deploy
George Spasov
@Perseverance
Let’s take this in private
dtmle
@dtmle
Has anybody been able to get all transactions from a given address without traversing the whole blockchain using web3.js or any other javascript module?
I know QuickBlock and Ethslurp have some functionalities like that, but they are not wrapped for node.js
George Spasov
@Perseverance
I think in ethers there was an example of this
Check out their docs
dtmle
@dtmle
@Perseverance , could not find any examples or functions inside ether.js that try to get all transactions from an address. I do not believe there is an efficient implementation inside JavaScript right now without having to have the whole blockchain stored locally.
George Spasov
@Perseverance
Yeah you are right. They have something about balances. Maybe you can use infura instead of local node?
Above is the web3j java code. The same i want in nodejs
George Spasov
@Perseverance
Not sure if this can be done with Ethers
Probably you can try in the ethers.js gitter community
Gabriel Munteanu
@jgabios
Hi, I am looking to get this task done: https://gitcoin.co/issue/LimeChain/etherlime/31/1334, and I have 2 questions: 1. All etherlime deployers extend the Deployer class, so I want to add the getters and setters there. Are wallet and provider mandatory parameters that ned to be passed to the constructor? 2. In order to make it nicer, instead of passing arguments one by one, it would be better to add 1 single {} mixin object like this: {wallet: myWallet, provider: myProvider, defaultOverrides: {gas: 2323}} . Is there anybody that I should talk to, in order to get some guidance?
ochikov
@ochikov
Hello @jgabios , Deployer class is a base class. PrivateKeyDeployer class extends Deployer class. Then JSONRPCPrivateKeyDeployer class extends PrivateKeyDeployer class. InfuraPrivateKeyDeployer class also extends PrivateKeyDeployer class. EtherlimeGanacheDeployer class extends JSONRPCDeployer class. EtherlimeGanacheWrapper class extends DeployedContractWrapper class. Wallet and provider are mandatory. You cannot setup deploy without these parameters, because the wallet is used to sign the transaction and this wallet is connected with the provider that this transaction goes through in the blockchain. If you have further questions, do not hesitate to contact me. Thank you!
Gabriel Munteanu
@jgabios
@ochikov Can we change the signature of the constructor, instead of having 3 parameters, use only an object like a jQuery option: {wallet: myWallet, provider: myProvider, defaultOverrides: {gas: 2323}} ?
Hello @jgabios Thank you for the suggestion. This will break the backwards compatibility of the tool. Also we are using the ethers.js library and we want to keep our product as much consistently as ethers.js library. I do not suggest you to pass all the arguments as object. Thank you.
Can someone teach me how to conected a password with a mnemonic words? Like.. mnemonic: 'girl round umbrella lion awake case doctor van tennis brush swim mind password', the last word is the password
Abhishekmishra16
@Abhishekmishra16
Hi guys, I'm new to this community. I'm using Web3 with the IoTeX Network, I just wanna ask for the creation of Mnemonic which utility is best?
Rajat Hongal
@rajathongal
ethersJS
Arrjun-Pradeep
@Arrjun-Pradeep
@tonnon let node = ethers.utils.HDNode.fromMnemonic(mnemonic,password);
Hello everyone,
Can someone tell whether metamask is storing the encrypted mnemonic phrase in client system OR they are converting it to 512 bit seed key and encrypting the same and storing in client system