You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scripts folder contains a few scripts that you can use to interact with the Meta-DAO.
10
-
Today, the only way to create proposals is via script. You can do this by modifying the
11
-
`initializeProposal.ts` script and replacing its `pubkey`, `accounts`, and `data` with the
12
-
SVM instruction that you want to use in your proposal.
13
-
14
-
Then, run `anchor run propose --provider.cluster CLUSTER`, where `CLUSTER` is replaced with
15
-
either devnet, mainnet, or (recommended) an RPC URL.
16
-
17
-
### Initialize Proposal
18
-
19
-
The initialize proposal script initializes conditional vaults, which also attempts to upload metadata for conditional tokens. If a previous attempt to call this script failed part way through and off-chain metadata has already been uploaded, you can use this metadata and bypass another attempt to upload off-chain metadata.
20
-
21
-
Simply prepend the script with the following environment variable structure: `[PASS|FAIL]_[TOKEN]_METADATA_URI`. For example, to override pass and fail META metadata uploads, include `PASS_META_METADATA_URI` and `FAIL_META_METADATA_URI`.
22
-
23
-
The actual script invocation might look something like this:
24
-
25
-
```bash
26
-
PASS_META_METADATA_URI=\"<P_URI>\" FAIL_META_METADATA_URI=\"<F_URI>\" anchor run propose
27
-
```
28
-
29
-
where `P_URI` and `F_URI` are replaced with their respective values.
5
+
Programs for market-driven governance
30
6
31
7
## Deployments
32
8
@@ -47,10 +23,3 @@ where `P_URI` and `F_URI` are replaced with their respective values.
0 commit comments