Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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>"
}
```