Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.
Get started →

All Products

Using DevNets With Safe

Using DevNets With Safe

Migrate to Virtual TestNets

Virtual TestNets are publicly available!
For new projects, we recommend starting with TestNets.
For automatic migration of DevNets to TestNets, .

Safe is a multi-signature wallet on the Ethereum blockchain that provides secure and flexible management of digital assets. It allows customizable access controls, multiple signatures for transactions, and seamless integration with decentralized finance (DeFi) applications, making it a popular choice for projects and organizations.

To integrate DevNet for the Safe project, follow these steps:

  1. Clone the Safe contracts repository:
git clone
cd safe-contracts
  1. Install dependencies:
yarn install
  1. Safe contracts use Hardhat as its development tool. Configure hardhat.config.js to use the DevNet JSON-RPC URL:
// ... other imports ...
module.exports = {
  solidity: '0.7.6',
  networks: {
    devnet: {
      url: DEVNET_RPC_URL,
    // ... other network configurations ...
  // ... other configurations ...

Replace DEVNET_RPC_URL with the DevNets JSON-RPC URL you obtained from Tenderly.

  1. Now you can run tests using the DevNet network:
npx hardhat test --network devnet

By integrating DevNet, you can deploy and test in an isolated environment, helping you ensure that the contracts work as expected without interfering with other test environments and with consistent mainnet data.

Additionally, you can automate this process with the Tenderly CLI. See the code example here.