deploy.ts 399 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('@coral-xyz/anchor');
  5. module.exports = async (provider) => {
  6. // Configure client to use the provider.
  7. anchor.setProvider(provider);
  8. // Add your deploy script here.
  9. };