A Python library to create and submit EVM transactions to custodians connected with MetaMask Institutional.
Project description
# MMI Custodian SDK
A Python library to create and submit EVM transactions to custodians connected with MetaMask Institutional.
## User documentation and examples
For documentation on how to use the library, please visit the page [MetaMask Institutional SDK](https://consensys.gitlab.io/codefi/products/mmi/mmi-sdk-py/sdk-python/), or [docs/sdk-python.md](docs/sdk-python.md).
You can also explore various usage examples in the directory [./examples](./examples).
## Developer documentation
🚨 The commands we list below use python and pip. Depending on your local setup, you might need to replace them by python3 and pip3.
### Requirements
Python 3.7 or above
### Installing dependencies
To install mmisdk, along with the tools you need to develop and run tests, run the following:
`bash pip install -e .[dev] `
### Unit tests
`bash ./run_tests.sh `
Testing against various Python versions, listed in ./tox.ini:
tox
### Building the package
`bash python3 setup.py bdist_wheel sdist `
### Creating / Updating the manifest
`bash check-manifest --create `
### Publishing to PyPI
`bash twine upload dist/* `
### Sorting imports
When checking with tox -e check, you might receive warnings from isort that imports are not properly ordered. To automatically sort your imports with isort, run the following:
`bash pip install isort isort . `
Changelog
0.0.1 (2022-09-09)
First release on PyPI.
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.