Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uxio0/safe-singleton-factory-deployer
Automatic deployer for https://github.com/safe-global/safe-singleton-factory
https://github.com/uxio0/safe-singleton-factory-deployer
Last synced: about 1 month ago
JSON representation
Automatic deployer for https://github.com/safe-global/safe-singleton-factory
- Host: GitHub
- URL: https://github.com/uxio0/safe-singleton-factory-deployer
- Owner: Uxio0
- Created: 2023-03-09T11:52:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-29T21:12:11.000Z (over 1 year ago)
- Last Synced: 2023-08-18T07:28:52.486Z (over 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# safe-singleton-factory-deployer
Automatic deployer for https://github.com/safe-global/safe-singleton-factory
## Configuration for deployment
- Set `MNEMONIC` environment variable with a valid words mnemonic
- `gunicorn -w 4 -b 0.0.0.0:8888 'flaskr:create_app()'`## Usage
- On the url that's running send a `POST` request with the following JSON:
```json
{
"rpc": "http://your-network-rpc"
}
```Response:
```json
{
"code": 422,
"name": "Unprocessable Entity",
"description": "Required at least 4999273600400000 wei (0.0049992736004 eth). Send funds to 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37"
}
```- You need to send funds to the deployer and then if everything goes well this response will be returned:
```json
{
"txHash": "<0x prefixed transaction hash>"
}
```