staratlasmeta / factory

Star Atlas Factory for constructing Transactions targeting Solana on-chain programs
https://www.npmjs.com/package/@staratlas/factory
Apache License 2.0
37 stars 15 forks source link

feat(dao): add methods to support sync-dao repo #123

Closed remjx closed 1 year ago

remjx commented 1 year ago

https://github.com/staratlasmeta/sync-dao is currently dependent on the deleted shadow-factory. This PR copies over necessary code from shadow-factory's CU-2khg8e8-dao-sync-all branch that sync-dao was using.

I've tested this locally and able to run sync-dao successfully using this branch.

This is messy and needs cleanup but please approve if there are no functional issues so we can get sync-dao at least running successfully again in CI.

Changes

Checklist

bravetarget commented 1 year ago

Task linked: CU-2khg8e8 Create sync helper

dahifi commented 1 year ago

We need to pull src/dao/idl/govern.json out of there. The app shouldn't be using it and we don't want fools messing around with the govern program until we're ready to allow voting.