Use infrastructure-blockprovider-runner instead. We will open-source another version for our partners in the following months ⚠️
The above link asks BlockProvider Runner to render our BlockProvider example project:
npm install @ouest-france/blockprovider-runner --global
Start server:
PORT=8080 blockprovider-runner
Let"s consider your BlockProvider is running on http://localhost:3000
(see our
blockprovider-example) with two path :
- BlockProviderConfig is at :
http://localhost:3000/configurations
- Block name to test
cms-block-provider-example-bitcoin
with configuration version1.0.0
- Accepting one parameter
?threshold=1989
To debug it, open your browser:
http://localhost:8080/block?config=http://localhost:3000/configurations&[email protected]¶meters=?threshold=1989