initial commit
This commit is contained in:
12
migrations/deploy.ts
Normal file
12
migrations/deploy.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// 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 "@anchor-lang/core";
|
||||
|
||||
module.exports = async function (provider: anchor.AnchorProvider) {
|
||||
// Configure client to use the provider.
|
||||
anchor.setProvider(provider);
|
||||
|
||||
// Add your deploy script here.
|
||||
};
|
||||
Reference in New Issue
Block a user