Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    dtmle
    @dtmle
    Hi, I am trying to deploy a contract using an infura node. I always get the error Invalid JSON RPC Response ""
    George Spasov
    @Perseverance
    Have you tried etherlime?
    dtmle
    @dtmle
    I know infura does not store private keys, so I've added the account using web3.eth.accounts.wallet.add(privKey).
    I have not, I will look at that
    George Spasov
    @Perseverance
    let me help:
    Check this and tell me if it helps
    dtmle
    @dtmle
    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?
    Martin Grigorov
    @martin_grigorov_twitter
    Hey all, the summer is ending and the etheremum meetups are back.
    Here is the video from the last meetup last week:
    https://www.youtube.com/watch?v=-zJ34QsP7LA
    We talked and watched a demo for etherlime
    BVenki
    @BVenki
    Hi
    Can any one guide me how to create a wallet with mnemonic+passphrase with ethers.js or some another node module for nodejs
    George Spasov
    @Perseverance
    Хи
    Hi
    I think this can help you
    BVenki
    @BVenki
    Thanks George
    The page show create a wallet only with mnemonic seed but not along with password
    I need to create a wallet with both mnemonic seed + password like in the web3j --> java lib
    George Spasov
    @Perseverance
    and there is fromEncryptedJson of the Wallet instance
    So essentially you create a wallet from mnemonic, create an encrypted json and later you decrypt it with pass
    BVenki
    @BVenki
    Ok Thanks
    But can you help me how to create encrypted json with what fields
    And i want the wallet with combination of mnemonic seed+password
    So no need to store this mnemonic seed in any secrete place
    Just simple i will remember my password
    BVenki
    @BVenki

    public static Credentials loadBip39Credentials(String password, String mnemonic) {
    byte[] seed = MnemonicUtils.generateSeed(mnemonic, password);
    return Credentials.create(ECKeyPair.create(sha256(seed)));
    }

    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}} ?
    Gabriel Munteanu
    @jgabios
    ochikov
    @ochikov
    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.
    Gabriel Munteanu
    @jgabios
    @ochikov ok, I will keepthe signatures
    ochikov
    @ochikov
    Thank you!
    George Spasov
    @Perseverance
    Hello everyone, Etherlime now has Telegram too. Join us there :) https://t.me/etherlime
    Lucas Tonon
    @tonnon
    Hi guys
    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