Skip to main content

Modified Command Line Interface for FailSafe Attestation Service to administrate Gnosis Safe Wallets and FailSafe Attestation Guard Contracts

Project description

PyPI version Build Status Coverage Status Python 3.9 Python 3.10 Python 3.11 Python 3.12 Docker Image Version (latest semver)

FailSafe Attestation Service Safe CLI

FailSafe Attestation Service Safe CLI is a command-line utility built on top of Safe CLI version 1.0.0, available here https://pypi.org/project/safe-cli

It provides the ability to connect to a custom Safe Transaction Service URL (by introducing a new command line parameter) plus all the options provided by the original version of Safe CLI.

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 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 fs-attestation-safe-cli

Usage

fs-attestation-safe-cli [-h] [--history] [--get-safes-from-owner] address node_url safe_tx_service_base_url fs_attestation_service_base_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
  safe_tx_service_base_url            The base url of the custom Safe Transaction Service to connect to
  fs_attestation_service_base_url     The base url of FailSafe Attestation Service API

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fs_attestation_safe_cli-1.0.9.tar.gz (60.3 kB view details)

Uploaded Source

File details

Details for the file fs_attestation_safe_cli-1.0.9.tar.gz.

File metadata

File hashes

Hashes for fs_attestation_safe_cli-1.0.9.tar.gz
Algorithm Hash digest
SHA256 a45440b8049d04b84fdfd5bdf1b0e28773dff9bb1ef9c0bafc24f3b42ca73563
MD5 ea8fa993ddc0d26164a123f1a6ecd617
BLAKE2b-256 5b80b739c1f3d4b3f1b3c6c47ba9e32a0893dec28002d49d96b672d42d42f818

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page