Skip to content

Commit 35307ba

Browse files
committed
Update README
1 parent eaace5c commit 35307ba

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

packages/sharing-smart-contract/README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,26 @@ To verify the contracts:
3939
npm run verify
4040
```
4141

42-
### Deploy (Production)
42+
### Deployment
4343

44-
To deploy the project on the production network - bellecour.
45-
⚠️ Be sure before deploying on bellecour
44+
To deploy the contracts on a local hardhat network, run:
4645

4746
```bash
48-
npm run script:prod
47+
npm run deploy # [-- --network <localhost>] if using an external local node.
4948
```
5049

51-
### Deploy (Test)
52-
53-
To deploy the project on the test network - localhost.
54-
You need first to start a local hardhat node which will be a fork of bellecour network :
55-
50+
To deploy the project on a live network, two options are available:
51+
1. Triggering the dedicated Github Action workflow (recommended).
52+
2. By running:
5653
```bash
57-
npx hardhat node
54+
npm run deploy -- --network <name>
5855
```
5956

60-
Open a new terminal and run :
57+
#### Note:
58+
* Deployment on chains that support CreateX factory will deploy contracts
59+
using `create2` strategy.
60+
* Github Actions workflow should be used for production deployments.
6161

62-
```bash
63-
npm run script:test
64-
```
6562

6663
### Run Tests
6764

0 commit comments

Comments
 (0)