You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
428 B
12 lines
428 B
// Migrations are an early feature. Currently, they're nothing more than this |
|
// single deploy script that's invoked from the CLI, injecting a provider |
|
// configured from the workspace's Anchor.toml. |
|
|
|
import * as anchor from "@coral-xyz/anchor"; |
|
|
|
module.exports = async function (provider: anchor.AnchorProvider) { |
|
// Configure client to use the provider. |
|
anchor.setProvider(provider); |
|
|
|
// Add your deploy script here. |
|
};
|
|
|