Skip to content

Commit 45ac9b8

Browse files
authored
Prepare for v1.5.0 Release (#1009)
Just some housekeeping for the release: - Fix the badges - Bump package version - Some small README formatting changes
1 parent 6c4b4fd commit 45ac9b8

3 files changed

Lines changed: 26 additions & 22 deletions

File tree

README.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Safe Smart Account
2-
==============
1+
# Safe Smart Account
32

43
[![npm version](https://badge.fury.io/js/%40safe-global%2Fsafe-smart-account.svg)](https://badge.fury.io/js/%40safe-global%2Fsafe-smart-account)
5-
[![Build Status](https://github.com/safe-global/safe-smart-account/workflows/safe-smart-account/badge.svg?branch=main)](https://github.com/safe-global/safe-smart-account/actions)
4+
[![Build Status](https://github.com/safe-global/safe-smart-account/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/safe-global/safe-smart-account/actions)
65
[![Coverage Status](https://coveralls.io/repos/github/safe-global/safe-smart-account/badge.svg?branch=main)](https://coveralls.io/github/safe-global/safe-smart-account)
76

8-
> :warning: **This branch contains changes that are under development** To use the latest audited version make sure to use the correct commit. The tagged versions that are used by the Safe team can be found in the [releases](https://github.com/safe-global/safe-smart-account/releases).
7+
> [!WARNING]
8+
> **This branch contains changes that are under development** To use the latest audited version make sure to use the correct commit. The tagged versions that are used by the Safe team can be found in the [releases](https://github.com/safe-global/safe-smart-account/releases).
9+
10+
## Usage
911

10-
Usage
11-
-----
1212
### Install requirements with npm:
1313

1414
```bash
@@ -36,23 +36,25 @@ ERC4337_TEST_SAFE_FACTORY_ADDRESS=
3636
MNEMONIC=
3737
```
3838

39-
2. Pre-fund the executor account derived from the mnemonic with some Native Token to cover the deployment of an ERC4337 module and the pre-fund of the Safe for the test operation.
39+
2. Pre-fund the executor account derived from the mnemonic with some Native Token to cover the deployment of an ERC-4337 module and the pre-fund of the Safe for the test operation.
4040

4141
### Deployments
4242

4343
A collection of the different Safe contract deployments and their addresses can be found in the [Safe deployments](https://github.com/safe-global/safe-deployments) repository.
4444

45-
To add support for a new network follow the steps of the ``Deploy`` section and create a PR in the [Safe deployments](https://github.com/safe-global/safe-deployments) repository.
45+
To add support for a new network follow the steps of the `Deploy` section and create a PR in the [Safe deployments](https://github.com/safe-global/safe-deployments) repository.
4646

4747
### Deploy
4848

49-
> :warning: **Make sure to use the correct commit when deploying the contracts.** Any change (even comments) within the contract files will result in different addresses. The tagged versions that are used by the Safe team can be found in the [releases](https://github.com/safe-global/safe-smart-account/releases).
49+
> [!WARNING]
50+
> **Make sure to use the correct commit when deploying the contracts.** Any change (even comments) within the contract files will result in different addresses. The tagged versions that are used by the Safe team can be found in the [releases](https://github.com/safe-global/safe-smart-account/releases).
5051
5152
> **Current version:** The latest release is [v1.4.1-3](https://github.com/safe-global/safe-smart-account/tree/v1.4.1-3) on the commit [21dc824](https://github.com/safe-global/safe-smart-account/commit/21dc82410445637820f600c7399a804ad55841d5)
5253
5354
This will deploy the contracts deterministically and verify the contracts on etherscan using [Solidity 0.7.6](https://github.com/ethereum/solidity/releases/tag/v0.7.6) by default.
5455

5556
Preparation:
57+
5658
- Set `MNEMONIC` in `.env`
5759
- Set `INFURA_KEY` in `.env`
5860

@@ -82,32 +84,34 @@ Note: Address will vary if contract code is changed or a different Solidity vers
8284

8385
#### Replay protection ([EIP-155](https://eips.ethereum.org/EIPS/eip-155))
8486

85-
Some networks require replay protection, making it incompatible with the default deployment process as it relies on a presigned transaction without replay protection (see https://github.com/Arachnid/deterministic-deployment-proxy).
87+
Some networks require replay protection, making it incompatible with the default deployment process as it relies on a presigned transaction without replay protection (see <https://github.com/Arachnid/deterministic-deployment-proxy>).
8688

87-
Safe Smart Account contracts use a different deterministic deployment proxy (https://github.com/safe-global/safe-singleton-factory). To make sure that the latest version of this package is installed, run `npm i --save-dev @safe-global/safe-singleton-factory` before deployment. For more information, including deploying the factory to a new network, please refer to the factory repo.
89+
Safe Smart Account contracts use a different deterministic deployment proxy (<https://github.com/safe-global/safe-singleton-factory>). To make sure that the latest version of this package is installed, run `npm i --save-dev @safe-global/safe-singleton-factory` before deployment. For more information, including deploying the factory to a new network, please refer to the factory repository.
8890

8991
Note: This will result in different addresses compared to hardhat's default deterministic deployment process.
9092

9193
### Verify contract
9294

9395
This command will use the deployment artifacts to compile the contracts and compare them to the onchain code
96+
9497
```bash
9598
npx hardhat --network <network> local-verify
9699
```
97100

98101
This command will upload the contract source to Etherscan
102+
99103
```bash
100104
npx hardhat --network <network> etherscan-verify
101105
```
102106

103-
Documentation
104-
-------------
107+
## Documentation
108+
105109
- [Safe developer portal](http://docs.safe.global)
106110
- [Error codes](docs/error_codes.md)
107111
- [Coding guidelines](docs/guidelines.md)
108112

109-
Audits/ Formal Verification
110-
---------
113+
## Audits and Formal Verification
114+
111115
- [for Version 1.5.0 by Certora & Ackee](docs/audit_1_5_0.md)
112116
- [for Version 1.4.0/1.4.1 by Ackee Blockchain](docs/audit_1_4_0.md)
113117
- [for Version 1.3.0 by G0 Group](docs/audit_1_3_0.md)
@@ -116,10 +120,10 @@ Audits/ Formal Verification
116120
- [for Version 1.0.0 by Runtime Verification](docs/rv_1_0_0.md)
117121
- [for Version 0.0.1 by Alexey Akhunov](docs/alexey_audit.md)
118122

119-
Security and Liability
120-
----------------------
123+
## Security and Liability
124+
121125
All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
122126

123-
License
124-
-------
127+
## License
128+
125129
All smart contracts are released under LGPL-3.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe-global/safe-smart-account",
3-
"version": "1.4.1-build.0",
3+
"version": "1.5.0",
44
"description": "Ethereum multisig contract",
55
"homepage": "https://github.com/safe-global/safe-smart-account/",
66
"license": "LGPL-3.0",

0 commit comments

Comments
 (0)