Create and Manage an OCN Identity
Last updated
Last updated
Being part of the Open Charging Network requires participants to set up and manage a self-sovereign identity (OCN Identity).
A 'self-sovereign identity’ is an identity where an individual maintains control over their own credentials, as opposed to having them stored in a centralized server by a third-party. A user's self-sovereign identity could, for example, be partially derived from their cryptocurrency wallet address, which the user maintains control of at all times.
Secure identities are critical for the automated routing of OCPI-messages, and for being able to use applications on top of the Open Charging Network.
Below are details on how to complete the steps necessary to create your OCN identity:
(not required for node operators)
* This step is NOT required for OCN Node Operators
Your unique identity on the Open Charging Network is based on an compliant name constructed from a country_code (e.g. “CH”) and party_id (e.g. “SNC”).
Today, in many countries, national registries exist to ensure uniqueness of IDs. Please refer to the OCPI documentation for further information both on the Provider and Operator abbreviation as well as for a list of existing authorities: .
Note that currently not all countries have a national registry. To see a list of countries that currently have a national registry,
A public-private key pair is generated programmatically by a wallet through a cryptographic algorithm. The algorithm produces a private key and a corresponding public key. The public key can be exposed and shared with others (it is used to identify participants in the OCN Registry smart contract), but the private key should not be shared with anyone. The algorithm used to generate the key-pair makes it virtually impossible for any outsider to guess your private key.
As a neutral platform, the Energy Web Foundation holds the administration key to this smart contract. The initial implementation requires a centralized authority to have administration rights (e.g. for updates). As the governance of the OCN Registry is a crucial piece to ensure openness of the Open Charging Network, Energy Web Foundation will further develop this governance together with the community (e.g. enable decentralized administration).
The required information varies according to your role within the network and whether you are running a node or not.
You will need to determine your party's role. The most common roles are "CPO" (Charge Point Operator) and "MSP" (Mobility Service Provider).
Required Information
Country_code
Party_id
Role (e.g. "CPO" or "MSP")
OCN Node Operator wallet address
Public URL of OCN Node
Optional Information
If you have any issues with your OCN Identity, please reach out to us.
The Open Charging Network uses a cryptographic wallet structure to provide security and unique identities. Wallets are used to construct your OCN identity, and to sign (authorize) actions on the OCN, such as sending and receiving messages. Your wallet (or private/public key-pair), along with your country_code and party_id ( form your identity on the Open Charging Network.
As such, you must have an Ethereum-compatible wallet to create your OCN identity. If you do not already have an Ethereum-compatible cryptocurrency wallet, we recommend using .
You can read more about what cryptocurrency wallets are, and how they are used in the context of the Energy Web Chain .
After completing and , you are now ready to register your OCN Identity with the OCN Registry. This registry serves as the address book for all OCN Identities.
The OCN Registry is implemented as a deployed on the Energy Web Chain. Anyone is allowed to register with the OCN Registry.
There are several ways to manage your OCN Registry entry. We recommend using the , or provided in the
You can see a full list of supported roles within .
Implemented OCPI modules. To see the full list of OCPI modules, and which modules each party typically implements, see the 2.3.1. Typical OCPI implementations per Role
As a a final preparation step, you need to fund your Ethereum wallet that you created in The funds will be used to enter our data into the registry. The transaction cost associated with entering the data into the registry is very low - less than 1 .
Depending on whether you want to connect to the or the there are two ways of getting funds for your wallet:
Take your generated public wallet address and visit the . Enter the address and request 1 Volta Ether. This will be more than enough to pay for the transaction to add our details to the registry.
You can purchase Energy Web Token (EWT) at the , the and the . Create an account at the exchange, fund it with your preferred currency and purchase Energy Web Token. One token should be enough cover the transaction cost. Then, transfer the tokens to the wallet address of your OCN Identity.
After funding your wallet, you are now ready to make OCN Registry entries. Please follow the technical instructions on thefor more detailed steps on how to do this using the , or .
Your OCN Identity is your key to participate in the Open Charging Network. Your private key from your cryptographic wallet () is required for managing your OCN Registry entry (your self-sovereign identity). Keep your private key safe! It is advised to follow best-practices for secure storage and usage (similar to API Token Management, management of cryptocurrencies, etc.)