@massalabs/multisig-contract 0.1.1-dev.20260507060529 → 0.1.1-dev.20260507073259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,13 +48,16 @@ Prerequisites :
48
48
 
49
49
  These keys will be the ones used by the deployment script to interact with the blockchain.
50
50
 
51
- Adapt `required`, `owners` & `upgradeDelay` to your liking (cf. important concepts) in `src/deploy.ts`.
51
+ Pass owners and threshold as CLI arguments to the deploy script.
52
+ `--owner-addresses` must be a comma-separated list and `--threshold` must be
53
+ a positive integer not greater than the number of owners.
54
+ `upgradeDelay` and `validationDelay` are configured directly in `src/deploy.ts` (not via CLI args).
52
55
 
53
- The following command will build contracts in `assembly/contracts` directory and execute the deployment script
54
- `src/deploy.ts`. This script deploys `Multisig.wasm` directly and automatically runs its constructor.
56
+ Run build first, then deploy. The deploy script uses the already-built
57
+ `build/Multisig.wasm` artifact and automatically runs the constructor.
55
58
 
56
59
  ```shell
57
- npm run deploy
60
+ npm run build && npm run deploy -- --owner-addresses AU1abc...,AU1def... --threshold 2
58
61
  ```
59
62
 
60
63
  ## Generate a wallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massalabs/multisig-contract",
3
- "version": "0.1.1-dev.20260507060529",
3
+ "version": "0.1.1-dev.20260507073259",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "asp --summary",