Skip to content

Dependency Problem with @harmony-js/core #91

@rac-sri

Description

@rac-sri

On importing TruffleProvider from @harmony-js/core and :

const newAcc = truffleProvider.addByPrivateKey(process.env.TESTNET_PRIVATE_KEY);

generates the following error:

photo_2021-04-27_19-09-32

To reproduce:

  • Use any project using @harmony-js/core
  • Remove node_modules
  • Reinstall node_modules
  • Rerun your project.

Note: The private key in the picture is from Ganache Testing. But the same error is occurring for different networks with original keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions