Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holaplex Solana Treasury Setup #112

Open
kespinola opened this issue Jun 21, 2023 · 0 comments
Open

Holaplex Solana Treasury Setup #112

kespinola opened this issue Jun 21, 2023 · 0 comments
Assignees

Comments

@kespinola
Copy link
Contributor

Background

Hub treasuries expects there to be a wallet and treasury setup for holaplex treasury vault.

Goal

Create a postgres seed script that that runs as either an init container or kube job with helm hook to seed the treasuries service with the appropriate records.

INSERT INTO treasuries(vault_id) VAULES ($1);
INSERT INTO wallets(treasury_id, $2) (SELECT id FROM treasuries WHERE vault_id = $1, address)
@kespinola kespinola self-assigned this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant