As the title suggests, I want to use the Gnosis Safe UI with a private network such as Hardhat.

How can I make this happen?

I want to interact with a smart contract from my own frontend using my deployed Safe. I know if I deployed it to a supported network by the Safe UI I'd be able to use the safe-apps-sdk, but I have to use a custom network that isn't supported.

  1. How can I interact with it programmatically using JavaScript with my Safe?
  2. How can I make it happen if I can't use the safe-apps-sdk to do so?
  3. Am I able to copy the entire Safe UI and deploy it elsewhere to then add the custom network I need?

1 Answer 1


you can use our https://github.com/safe-global/safe-infrastructure repository to run your private network locally.

see docs for more details

  • Is it possible to run safe-wallet-app locally and connect it to a remote safe-infrastructure? I could not find where the api url is configured.
    – Qwerty
    Commented Dec 20, 2023 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.