Skip to content

Commit 3d6210e

Browse files
Filipp MakarovFilipp Makarov
authored andcommitted
chore: readme for the deploy script
1 parent 0e2fe59 commit 3d6210e

7 files changed

Lines changed: 553 additions & 12 deletions

File tree

.env.example

Lines changed: 33 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Built on the ERC-4337 account abstraction standard, the Node Paymaster uses a fa
104104

105105
## Security Audits
106106
The Stx contracts suite is carefully audited by lead researchers in blockchain security.
107-
Please explore the `/audit/` folder to find the reports.
107+
Please explore the [`/audit/`](audit) folder to find the reports.
108108

109109
## Usage
110110

@@ -118,4 +118,7 @@ $ forge build
118118

119119
```shell
120120
$ pnpm test
121-
```
121+
```
122+
123+
### Deployments
124+
See [`script/deploy/README.MD`](script/deploy/README.MD) to learn how to deploy the stx contracts to your chain.

script/deploy/DeployStxContracts.s.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ contract DeployStxContracts is Script, Config {
308308
function deployDisperse() internal returns (address) {
309309
address expectedCreateXAddress = vm.envAddress("CREATEX_ADDRESS");
310310
CreateX createX = CreateX(expectedCreateXAddress);
311+
vm.startBroadcast();
311312
address disperse = createX.deployCreate2(DISPERSE_SALT, DISPERSE_INITCODE);
313+
vm.stopBroadcast();
312314
console.log("Disperse deployed to:", disperse);
313315
return disperse;
314316
}

0 commit comments

Comments
 (0)