LogoLogo
PivotalChain.ioStaking AppPivotalChain ContractsPivotal Bridge
  • Introduction: Pivotal & plusBTC
    • Pivotal
    • Bitcoin's Revolution
    • Pivotal's Mission and Vision
  • PIVOTAL PARTNERS
    • Babylon: Bitcoin Staking
    • Ceffu: Institutional Custody
    • B² Network: Finality Provider
  • LINKS
    • Pivotal Website
    • Pivotal X (Twitter)
    • Pivotal Discord Server
    • Staking BTC
Powered by GitBook
LogoLogo

Notices

  • Terms of Service
  • Privacy Policy
  • Legal Notice
  • UK Residents

(c) Copyright Pivotal Research Ltd

On this page
  • thirdweb CLI
  • Creating a project​
  • Deploying a smart contract​
  • Publishing a smart contract​
Export as PDF
  1. PIVOTALCHAIN TOOLS
  2. Toolchains

thirdweb CLI

Last updated 1 year ago

thirdweb CLI

thirdweb provides an interactive command line interface, allowing you to create, build and deploy your smart contracts and apps.

You can use the thirdweb CLI to create and deploy smart contracts to the Pivotal network.

Visit the for more instructions on using the thirdweb CLI.


Creating a project

Create a new project with thirdweb installed and configured:

npx thirdweb create

INFO

When you create a project for smart contracts or web3 apps there are various configurable options.

For contracts, some options are:

  • Create a new contract project using or

  • Add a new contract to an existing project

  • Start from an audited contract base, and add optional

For contracts, some options are:

  • Front end applications using Next, CRA or Vite

  • Backend applications using Node.js or Express.js

  • Choice of TypeScript or JavaScript variants


npx thirdweb deploy

To deploy to the Pivotal network, after running npx thirdweb deploy, visit the provided dashboard URL and select Pivotal from the Network dropdown.


npx thirdweb publish

Deploying a smart contract

your smart contracts to the Pivotal network:

For a complete guide on using the thirdweb CLI to create and deploy contracts on Pivotal, see

Publishing a smart contract

and share a versioned release of your contract onto thirdweb’s registry:

thirdweb documentation
​
Hardhat
Forge
extensions
​
Deploy
Deploy a smart contract on Pivotal testnet.
​
Publish