Skip to main content

Brownie Safe: Gnosis Safe tx builder

Read Documentation

Brownie Safe allows you to iteratively build complex multi-step Gnosis Safe transactions and safely preview their side effects from the convenience of a locally forked mainnet environment.

Previously known as Ape Safe

Installation

uv pip install brownie-safe --pre

Quickstart

brownie console --network mainnet-fork
from brownie_safe import BrownieSafe
safe = BrownieSafe('ychad.eth')

dai = safe.contract('0x6B175474E89094C44Da98b954EedeAC495271d0F')
vault = safe.contract('0x19D3364A399d251E894aC732651be8B0E4e85001')

amount = dai.balanceOf(safe.account)
dai.approve(vault, amount)
vault.deposit(amount)

safe_tx = safe.multisend_from_receipts()
safe.preview(safe_tx)
safe.post_transaction(safe_tx)

See Documentation for more examples and full reference.

Metadata

Release files for brownie-safe 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brownie-safe 0.9.3
File Size Uploaded
brownie_safe-0.9.3.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brownie-safe 0.9.3
File Interpreter ABI Platform
brownie_safe-0.9.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / brownie_safe-0.9.3.tar.gz

Download URL brownie_safe-0.9.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
772a3ec28dca7a54f83a8d40ead34e90efb17100a819b6f54ca8322529f7b61f
BLAKE2b-256 checksum
How to use checksums
e44048c69665f0110bb84303510765e782115bae14977562a7614c3e334ddc92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / brownie_safe-0.9.3-py3-none-any.whl

Download URL brownie_safe-0.9.3-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91e1b5b3cc4885dd72cba2b0cdacb2277611fa51f55110e80f5e56c22233c43a
BLAKE2b-256 checksum
How to use checksums
1a42c0f416c668bb8b8a8e33cf782c47bee98626d0d8061af9229c107af07c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page