Skip to main content

Plan

These commands are related to a Plan management

Create a Plan

Before creating a Plan, make sure you have registered as provider first.

sentinelcli tx plan create \
<duration><time_denom> \
<gigabytes> \
<prices>udvpn \
--from <provider_key> \
--chain-id=sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices=0.5udvpn \
--gas=300000

Link a Node to a plan.

sentinelcli tx plan link-node \
<plan_id> \
<sentnode_address> \
--from <provider_key> \
--chain-id=sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices=0.5udvpn \
--gas=300000

Unink a Node to a plan.

sentinelcli tx plan unlink-node \
<plan_id> \
<sentnode_address> \
--from <provider_key> \
--chain-id=sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices=0.5udvpn \
--gas=300000

Subscribe to a Plan

Subscribe to a Plan

sentinelcli tx plan subscribe \
<plan_id> \
udvpn \
--chain-id=sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices=0.5udvpn \
--gas=300000

Update Status of a Plan

Get a Plan status update.

sentinelcli tx plan update-status \
<plan_id> \
<status> \
--from <provider_key> \
--chain-id=sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices=0.5udvpn \
--gas=300000