Docs
Submit an issue
Appchains on Polkadot
Appchains on Polkadot
  • WELCOME
    • Polkadot Appchains
    • Installing Pop CLI
    • How to contribute
  • GUIDES
    • Set up your development environment
    • Create a new parachain
      • Create an Assets parachain
      • Create a Contracts parachain
      • Create an EVM parachain
    • Benchmarking
    • Build your parachain
      • Build your runtime deterministically
    • Call a chain
    • Launch a Chain
      • Launch a Chain in Development
      • Launch a Chain to Paseo
        • Launch Paseo
        • Set up keys
        • Acquire Coretime
      • Deploy a chain with Polkadot Deployment Portal
      • Running a post-startup command
    • Securely Sign Transactions from CLI
    • Test runtime upgrades
  • POP CLI
    • welcome
    • install
    • new
    • bench
    • build
    • build spec
    • call
    • up
    • clean
    • test
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. GUIDES
  2. Launch a Chain
  3. Launch a Chain to Paseo

Acquire Coretime

The following guide shows how to acquire coretime.

PreviousSet up keysNextDeploy a chain with Polkadot Deployment Portal

Last updated 5 months ago

Was this helpful?

In order to get a chain's block validated and finalised by the Relay chain it needs to acquire .

Acquire coretime using the following command:

pop call chain --url <relay_endpoint>
┌   Pop CLI : Call a chain
│
◇  What would you like to do?
│  Purchase on-demand coretime 
│
◇  Enter the value for the parameter: max_amount
│  10000000
│
◇  Enter the value for the parameter: para_id
│  2000
│
◇  Do you want to use your browser wallet to sign the extrinsic? (Selecting 'No' will prompt you to manually enter the secret key URI for signing, e.g., '//Alice')
│  No
│
◇  Signer of the extrinsic:
│  <CHAIN MANAGER ACCOUNT>
...
       Event OnDemand ➜ OnDemandOrderPlaced
         para_id: Id(2000)
         spot_price: 1mUNIT
         ordered_by: <CHAIN MANAGER ACCOUNT>
...

Note: the max_amount (spot price willing to pay for a core) will vary depending on the Relay Network.

If the event OnDemandOrderPlaced is returned it means that your block will be validated and finalised!

Resources

Learning Resources

Technical Support

Note: In the example above, you are prompted to provide a <private-key> to interact with the chain. However, this implies a potentially insecure way of handling private keys and should only be used for development accounts. For production accounts and enhanced security, Pop CLI offers the --use-wallet option to securely sign transactions. Refer to the for detailed instructions.

🧑‍🏫 To learn about Polkadot in general, website is a good starting point.

⭕ Learn more about parachains .

🧑‍🔧 For technical introduction, are the Polkadot SDK documentation resources.

Create a question and tag it with ""

Share the StackExchange question in our

coretime
Securely sign transactions from CLI guide
https://paritytech.github.io/devops-guide/guides/parachain_deployment.html
Polkadot.network
here
here
Polkadot Stack Exchange
pop
Pop Support Telegram channel