File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed
packages/sharing-smart-contract Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -39,29 +39,26 @@ To verify the contracts:
3939npm 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
You can’t perform that action at this time.
0 commit comments