Skip to content

Commit 1c4da82

Browse files
committed
Add saltNonce to the documentation
1 parent b0b4d8c commit 1c4da82

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ const cpk = await CPK.create({
104104

105105
Please refer to the `migrations/` folder of this package for information on how to deploy the required contracts on a network, and note that these addresses must be available for the connected network in order for *CPK* creation to be successful.
106106

107+
#### Salt nonce configuration
108+
109+
The `CPK.saltNonce` property is predetermined, but it may be passed in as a parameter to generate new proxies for which the owner controls.
110+
111+
```js
112+
const saltNonce = "<NEW_SALT_NONCE>";
113+
const cpk = await CPK.create({ ethLibAdapter, saltNonce });
114+
```
115+
107116
<!---
108117
#### Transaction relayer configuration
109118

0 commit comments

Comments
 (0)