Creating a Keystore User for the Node
Each of Dijets node provides a built-in Keystore. The Keystore manages users which are authorised to interact with any of the Value, Utility or Method Chains in the Network.
Getting Started
Dijets is an Ecosystem of Decentralised Ternary Chain Ledgers for launching decentralized applications and enterprise blockchain deployments using an interoperable & highly scalable protocol.
The quickest way to learn about Dijets is to run a node and interact with the network.
Each of Dijets node provides a built-in Keystore. The Keystore manages users which are authorised to interact with any of the Value, Utility or Method Chains in the Network.
Create a keystore user on a node that you just started. The Node operator has access to user's password.
curl -X POST --data '{
"jsonrpc": "2.0",
"id": 1,
"method": "keystore.User",
"params": {
"username": "--type a username--",
"password": "--type a password--"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/keystore
The response for the node call to keystore.User
should be:
{
"jsonrpc":"2.0",
"result":{"success":true},
"id":1
}
To create a new address on the Value Chain, call djtvalue.createAddress
.
curl -X POST --data '{
"jsonrpc":"2.0",
"id" :2,
"method" :"djtvalue.createAddress",
"params" :{
"username": "--type a username--",
"password": "--type a password--"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/Value
The bc/Value
portion means the request was sent to the Value Chain. Response should look like:
{
"jsonrpc":"2.0",
"id":2,
"result" :{
"address":"V-dijets1xaaj0h9fh3c5jn6fxjp0rg4g39jeh0hl27vf75"
}
}
Stuck somewhere? Setting up a Dijets Node can be a bit different across different build tools. Check our framework guides to see if we have more specific instructions for your particular setup.Create a Keystore User
Explore some of the unique technical and economic concepts behind the Dijets Network & its Ternary Chain Ledgers.
Infinitely scalable, utility-driven, extremely lightweight decentralised platform for the new web.
Dijets is an ecosystem of heterogeneous blockchains namely Value Chain, Utility Chain & Method Chain.
Delivers a highly scalable & efficient blockchain network which can adapt to changing network conditions.
There are two types of Validators for Dijets Network. A public Validator and a hardware node instance; Cacid.
Read all about Dijets Governance and learn how to participate in Dijets Improvement Proposals.
Dive into the extensive benefits and the wide ranging utilities of Dijets Products & services.