2021-12-05 11:14:16 -08:00
|
|
|
// 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.
|
|
|
|
|
|
|
|
const anchor = require("@project-serum/anchor");
|
|
|
|
|
|
|
|
module.exports = async function (provider) {
|
|
|
|
// Configure client to use the provider.
|
|
|
|
anchor.setProvider(provider);
|
|
|
|
|
|
|
|
// Add your deploy script here.
|
2021-12-15 15:11:41 -08:00
|
|
|
};
|