All Projects → banteg → ape-safe

banteg / ape-safe

Licence: other
gnosis safe tx builder

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ape-safe

safe-core-sdk
Software developer tools that facilitate the interaction with the Safe contracts and services.
Stars: ✭ 93 (-55.92%)
Mutual labels:  gnosis-safe
react-mix
Everything you need to use React with Brownie!
Stars: ✭ 58 (-72.51%)
Mutual labels:  brownie
chainlink-mix
Working with smart contracts with eth-brownie, python, and Chainlink.
Stars: ✭ 447 (+111.85%)
Mutual labels:  brownie
brownie-token-tester
Helper objects for generating ERC20s while testing a Brownie project.
Stars: ✭ 25 (-88.15%)
Mutual labels:  brownie
nftoken
A non-fungible implementation of the ERC20 standard, allowing scalable NFT transfers with fixed gas costs.
Stars: ✭ 59 (-72.04%)
Mutual labels:  brownie
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+60.66%)
Mutual labels:  brownie
brownie simple storage
No description or website provided.
Stars: ✭ 22 (-89.57%)
Mutual labels:  brownie
safe-airdrop
A Gnosis Safe app for distributing tokens from CSV transfer files.
Stars: ✭ 32 (-84.83%)
Mutual labels:  gnosis-safe
safe-transaction-service
Keeps track of transactions sent via Gnosis Safe contacts and confirmed transactions. It also keeps track of Ether and ERC20 token transfers to Safe contracts.
Stars: ✭ 72 (-65.88%)
Mutual labels:  gnosis-safe
gnosis-py
Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects
Stars: ✭ 68 (-67.77%)
Mutual labels:  gnosis-safe
safe-relay-service
Relay Tx Service for Gnosis Safe
Stars: ✭ 48 (-77.25%)
Mutual labels:  gnosis-safe

Ape Safe: Gnosis Safe tx builder

Ape 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.

Installation

pip install -U ape-safe

Quickstart

brownie console --network mainnet-fork
from ape_safe import ApeSafe
safe = ApeSafe('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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].