Skip to content

Hopli relies on the smart contracts #26

@Jaguaras

Description

@Jaguaras

Issue

Hopli still relies on the contracts, that are not in hopli repo.

Actions I did

I followed this example: https://github.com/hoprnet/hopli?tab=readme-ov-file#create-read-identity-and-make-it-eligible-for-rotsee-network

This means:

  1. I exported variables.
  2. Created identity
  3. Tried to register safe & module, but I've got an error:
./target/debug/hopli safe-module create --network ${HOPRD_NETWORK} --contracts-root "./ethereum/contracts"  --provider-url http://78.60.147.136:8546 --identity-directory "./new_identities" --allowance 9999999999999999999999999 --hopr-amount 1 --native-amount 0.1
2026-01-06T14:42:52.254457Z  INFO ThreadId(01) identity_reader_from_directory: 1 path read from dir
2026-01-06T14:42:52.254507Z  INFO ThreadId(01) hopli_lib::key_pair: reading password from env "IDENTITY_PASSWORD"
2026-01-06T14:42:52.254545Z  INFO ThreadId(01) hopr_crypto_keypair::key_pair: found existing identity file file_path=./new_identities/nodes_0.id
2026-01-06T14:42:52.850633Z  INFO ThreadId(01) hopr_crypto_keypair::key_pair: status needs_migration=false
2026-01-06T14:42:52.850676Z  INFO ThreadId(01) hopli_lib::key_pair: Reading private key from environment variable "PRIVATE_KEY"
Error: UnableToReadFromPath(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationsmart-contracts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions