Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    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