deploy.js 409 B

123456789101112
  1. // Migrations are an early feature. Currently, they're nothing more than this
  2. // single deploy script that's invoked from the CLI, injecting a provider
  3. // configured from the workspace's Anchor.toml.
  4. const anchor = require("@project-serum/anchor");
  5. module.exports = async function (provider) {
  6. // Configure client to use the provider.
  7. anchor.setProvider(provider);
  8. // Add your deploy script here.
  9. };