Modified Command Line Interface for Safe for FailSafe Attestation Service
Project description
Safe CLI
Safe CLI is a command-line utility for Safe contracts. You can use it to manage your Safe account from the command line.
It does not rely on Safe{Core} API and can also be used in networks where Safe services are unavailable. Learn more through the documentation.
Using Docker
Prerequisite: Install Docker Desktop.
Once Docker is installed on your system, run the following command to create new Safe accounts:
docker run -it safeglobal/safe-cli safe-creator
You can also run the following command to run the Safe CLI with an existing Safe:
docker run -it safeglobal/safe-cli safe-cli <checksummed_safe_address> <ethereum_node_url>
Using Python PIP
Prerequisite: Python >= 3.9 (Python 3.12 is recommended).
Once Python is installed on your system, run the following command to install Safe CLI:
pip3 install -U safe-cli
Usage
safe-cli [-h] [--history] [--get-safes-from-owner] address node_url
positional arguments:
address The address of the Safe, or an owner address if --get-safes-from-owner is specified.
node_url Ethereum node url
options:
-h, --help Show this help message and exit
--history Enable history. By default it's disabled due to security reasons
--get-safes-from-owner Indicates that address is an owner (Safe Transaction Service is required for this feature)
Safe{Core} API/Protocol
- Safe Infrastructure
- Safe Transaction Service
- Safe Smart Account
- Safe Smart Account deployment info and addreses
Setting up for developing
If you miss something and want to send us a PR:
git clone https://github.com/safe-global/safe-cli.git
cd safe-cli
stat venv 2>/dev/null || python3 -m venv venv
source venv/bin/activate && pip install -r requirements-dev.txt
pre-commit install -f
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for fs_attestation_safe_cli-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0a067328c0afaf756bef0f12f70b316cdede3d27f798e49e04905a2aa02a6a |
|
MD5 | 76582e7d9ca680eea5f3cf8ae6ec3a4d |
|
BLAKE2b-256 | 89d7e0809b3246a957323b6922aab71a5b9e28d74bfa570c322b42c317392a8c |