Welcome
Getting Started
How to Guides
Application vs Blocklet
Create Blocklet
Compose Blocklets
Develop Blocklet
User and Passport
Communicate with DID Wallet
Blocklet Storage
Using Blocklet Preferences
Build blocklet for profit [deprecated]
Bundle your blocklet
Manage Blocklet Versions
Publish your blocklet to the world
Deploy your blocklet
Read/Write blockchain in blocklet
Operation and maintenance your blocklet
Reference Guides
Conceptual Guides
Frequently Asked Questions
Publish your blocklet to the world
ArcBlock
2024-03-14 04:09
· edited
Publish to Blocklet Store#
- Register as a developer from Blocklet Store
- Blocklet Store is decentralized
- Arcblock provides 2 official Store: blocklet store and blocklet store(dev)
- You can setup a self-hosted store refer to Host Blocklet Store
- You need to apply for a developer first, after the administrator has approved, you can proceed to the next step
- Create a new access key
- Use
blocklet connect <store-url>
command to create and access key from store
- Bundle your blocklet
- Refer to Bundle your blocklet
- Upload your blocklet
- Use
blocklet upload
to upload your blocklet bundle to store
- Login to the uploaded Blocklet Store, you can see the uploaded Blocklet in the "My Blocklet" page in Admin Dashboard
- The uploaded Blocklet is still in the "draft" status, click the "publish" button to publish
Publish to multiple stores#
- Use
blocklet connect <store-url> --profile <profile>
to save access token of different stores - Use
blocklet upload --profile <profile>
to upload your blocklet bundle to multiple stores
Caveats#
If you need to publish your blocklet to multiple stores during the distribution workflow, and if your blocklet has dependency components, the recommended way to declare dependency is following:
- Development: Set
COMPONENT_STORE_URL="https://test.store.blocklet.dev"
in your.env.local
- Production: Set
COMPONENT_STORE_URL
in your github action workflow.
TODO: ## Host with github release
TODO: ## Other hosting options
Sticker