Skip to content

Commit 466a0f3

Browse files
authored
Merge pull request #215 from metaproph3t/deploy-programs
Deploy programs to mainnet
2 parents 7995e86 + eaabc1e commit 466a0f3

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Futarchy Monorepo
1+
# Futarchy
22

33
![License BSLv1.1](https://img.shields.io/badge/License-BSLv1.1-lightgray.svg)
44

5-
Monorepo that houses programs helpful for futarchy. A description of these programs
6-
and what they do can be found at [docs.themetadao.org](https://docs.themetadao.org).
5+
Programs for market-driven governance.
76

87
## Scripts
98

@@ -33,9 +32,9 @@ where `P_URI` and `F_URI` are replaced with their respective values.
3332

3433
| program | tag | program ID |
3534
| ----------------- | ---- | -------------------------------------------- |
36-
| autocrat | v1.0 | 5scUH1qY87Awh5D8bQkbP2uv9BaXJXiMgrqRBw1K2vVv |
37-
| amm | v1.0 | CsN1N8qaMJUwoGFWt3xV4u246n2cuZy9AWLws78e3a1K |
38-
| conditional_vault | v1.0 | F3RzPAtBQvUAAdDHD8AsPKFhDB1H38SULNKTW39dYrw8 |
35+
| autocrat | v0.3 | autoQP9RmUNkzzKRXsMkWicDVZ3h29vvyMDcAYjCxxg |
36+
| amm | v0.3 | AMM5G2nxuKUwCLRYTW7qqEwuoqCtNSjtbipwEmm2g8bH |
37+
| conditional_vault | v0.3 | VAU1T7S5UuEHmMvXtXMVmpEoQtZ2ya7eRb7gcN47wDp |
3938
| autocrat_v0 | v0.2 | metaRK9dUBnrAdZN6uUDKvxBVKW5pyCbPVmLtUZwtBp |
4039
| autocrat_migrator | v0.2 | MigRDW6uxyNMDBD8fX2njCRyJC4YZk2Rx9pDUZiAESt |
4140
| conditional_vault | v0.2 | vAuLTQjV5AZx5f3UgE75wcnkxnQowWxThn1hGjfCVwP |

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-verifiable PROGRAM_NAME:
99
solana-verify build --library-name {{ PROGRAM_NAME }} -b ellipsislabs/solana:1.16.10
1010

1111
deploy PROGRAM_NAME CLUSTER:
12-
solana program deploy -u {{ CLUSTER }} --program-id ./target/deploy/{{ PROGRAM_NAME }}-keypair.json ./target/deploy/{{ PROGRAM_NAME }}.so --with-compute-unit-price 5 --max-sign-attempts 15 && PROGRAM_ID=$(solana-keygen pubkey ./target/deploy/{{ PROGRAM_NAME }}-keypair.json) && anchor idl init --filepath ./target/idl/{{ PROGRAM_NAME }}.json $PROGRAM_ID --provider.cluster {{ CLUSTER }}
12+
solana program deploy --use-rpc -u {{ CLUSTER }} --program-id ./target/deploy/{{ PROGRAM_NAME }}-keypair.json ./target/deploy/{{ PROGRAM_NAME }}.so --with-compute-unit-price 5 --max-sign-attempts 15 && PROGRAM_ID=$(solana-keygen pubkey ./target/deploy/{{ PROGRAM_NAME }}-keypair.json) && anchor idl init --filepath ./target/idl/{{ PROGRAM_NAME }}.json $PROGRAM_ID --provider.cluster {{ CLUSTER }}
1313

1414
upgrade PROGRAM_NAME PROGRAM_ID CLUSTER:
1515
anchor upgrade ./target/deploy/{{ PROGRAM_NAME }}.so -p {{ PROGRAM_ID }} --provider.cluster {{ CLUSTER }}

0 commit comments

Comments
 (0)