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

Solana deployment scripts and module configs #671

Closed
wants to merge 15 commits into from

Conversation

dimpar
Copy link
Contributor

@dimpar dimpar commented Jul 22, 2023

Drafting deployment scripts

Refs: #659

Depends on: #650 - TBTC program
Depends on SolanaWormholeGateway - implementation is in progress by @eth-r

Execution:

The following script will build and deploy programs on Solana cluster. It will execute /migrations/deploy.ts that should initialize the programs, add a minter/guardians and also update the mappings of other L2s.

  • ./scripts/deploy.sh --cluster <cluster>
    where cluster is one of: 'mainnet-beta', 'devnet', and 'localnet'

TODO:

  • add a guardian?
  • update mappings for self i.e. solana, artbitrum, optimism, and polygon

The plan is to use deploy.sh script to deploy programs on Solana and use
a migration script to execute required instructions on the deployed
programs.
@dimpar dimpar self-assigned this Jul 22, 2023
@dimpar dimpar requested a review from eth-r July 22, 2023 16:12
@dimpar dimpar changed the base branch from main to solana-anchor July 22, 2023 16:13
There is a problem with a solana-keygen new command that I don't know
how to solve. Instead I'm adding a keyfile manually just for the testing
purposes.
@dimpar dimpar changed the title Solana deployment scripts Solana deployment scripts and module configs Jul 28, 2023
Base automatically changed from solana-anchor to main August 2, 2023 14:03
@dimpar
Copy link
Contributor Author

dimpar commented Aug 14, 2023

Closing in favour of #688

@dimpar dimpar closed this Aug 14, 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

Successfully merging this pull request may close these issues.

1 participant