Energy Web Documentation
  • Energy Web Ecosystem
  • Launchpad by Energy Web
  • EWC Validator Documentation
  • Community Ressources
  • Legacy documentation
  • Welcome to Energy Web
  • Glossary
  • Solutions 2023
    • ↔️Data Exchange
      • Data Exchange Overview
      • Data Exchange Architecture
      • Use Cases and Refrence Implementations
        • Digital Spine for Electricity Markets
          • Digital Spine Integration Client Deployment Guide - from Azure marketplace
        • E-Mobility Management
    • 🔌Open Charging Network
      • Create and Manage an OCN Identity
      • Connect an OCPI/OCN Party to a Node
        • 1. Make your backend service OCN-ready
        • 2. Select an OCN Node and register in OCN Registry
        • 3. Manage your Whitelist and Blacklist
        • 4. Connect your service to an OCN Node
      • Run an OCN Node
      • Use the OCN Service Interface
        • Offer an OCN Service
        • Sign up for an OCN Service
      • Develop on the Test Network
      • Develop on the Production Network
      • Open Source Development
        • Maturity Model, Feature Roadmap and Releases
        • Developer Community Calls
      • E-Mobility Dashboard v0.1
  • EW-DOS Technology Components 2023
    • EW-DOS Overview
    • Worker Nodes
      • Worker Node Process Diagrams
      • Worker Node Architecture
      • Worker Node Guides
        • Deploy Worker Nodes
        • Customize Worker Logic
    • Identity and Access Management (IAM)
      • IAM Guides
        • Implement an SSI Hub instance
        • Verifiable Credential API
        • Sign-In with Ethereum
        • Using Switchboard
          • Switchboard Transaction Cost Estimates
      • IAM Patterns
        • Assets as Ownable Smart Contracts
        • Credential Lifecycle
        • Credential Metadata
        • SSI Credential Governance using ENS Domains
      • IAM Libraries
      • SSI Hub
      • Switchboard Application
    • Decentralized Data Hub (DDHub)
      • DDHub Message Broker
      • DDHub Client Gateway
      • DDHub Patterns
        • Channels and Topics
      • DDHub Guides
    • Green Proofs Contracts
    • Energy Web X
    • The Energy Web Chain
      • EWC Overview
      • System Architecture
        • Proof-of-Authority Consensus Mechanism
        • System Contracts
          • Name Registry
          • Holding Contract
          • Block Reward Contract
          • Validator-Set Contracts
        • Validator Node Architecture
      • Energy Web Block Explorer
      • Validator Node Installation Specifications
        • Volta Test Network: Validator Node Installation
      • Energy Web Chain Governance
      • EWC Guides and Tutorials
        • Getting started with Energy Web Chain
        • Developing on the Volta Test Network and Main Network (Energy Web Chain)
        • Run a Local RPC Node
          • Run RPC Node using Nethermind client
        • Deploy a Smart Contract on Volta with Remix
        • Interacting with Smart Contracts in EW-DOS
        • Set up MetaMask to interact with Energy Web Chain
        • Using the Ethereum Name Service
        • Using Oracles
      • Energy Web Token (EWT)
  • 🧠Foundational Concepts
    • Open-Source Software
    • Scaling Access to Grid Flexibility
    • Facilitating Clean Energy Purchases
    • Ethereum
      • Transactions and Transaction Costs
    • Self-Sovereign-Identity
      • Self-Sovereign Use Case Interaction
    • Cryptocurrency Wallets
      • Software cryptocurrency wallets
        • Metamask
        • Mycrypto wallet
      • Hardware cryptocurrency wallets
      • Hierarchical Deterministic (HD) Wallets
Powered by GitBook
On this page
  • 1. Select and register your country_code and party_id
  • 2. Create a private/public key pair
  • 3. Register and Manage your OCN Identity with the OCN Registry
  • 3.1 Gather Required Information
  • 3.2 Fund your Ethereum-Compatible Wallet
  • 3.3 Create, read, update and delete your OCN Identity
  • 4. Store your private key safely - and don’t lose it
Export as PDF
  1. Solutions 2023
  2. Open Charging Network

Create and Manage an OCN Identity

PreviousOpen Charging NetworkNextConnect an OCPI/OCN Party to a Node

Last updated 2 years ago

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.

You can read more about self-sovereign identity in our documentation .

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:

  1. (not required for node operators)

Access the full OCN technical documentation .

1. Select and register your country_code and party_id

* 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,

2. Create a private/public key pair

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.

3. Register and Manage your OCN Identity with the OCN Registry

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).

3.1 Gather Required Information

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).

OCPI Party (CPO, eMSP)
Node Operator

Required Information

  • Country_code

  • Party_id

  • Role (e.g. "CPO" or "MSP")

  • OCN Node Operator wallet address

  • Public URL of OCN Node

Optional Information

3.2 Fund your Ethereum-Compatible Wallet

Public Test Network (Volta)
Production Network (Mainnet)

3.3 Create, read, update and delete your OCN Identity

4. Store your private key safely - and don’t lose it

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.)

🔌
MetaMask
here
smart contract
Command Line Interface
Java
TypeScript library
OCN Registry repository on GitHub.
OCPI 2.2 in the documentation at 6.4.2 Role
OCN Registry repository on GitHub "Listing a Party"
CLI library
TypeScript library
Java library
here
here
eMI3
OCPI 2.2 Documentation
see the OCPI 2.2 documentation, section 2.5. Provider and Operator abbreviation.
Select your country_code and party_id* (and register at your country’s national registry**)
Create a private/public key pair
Create, read, update and delete your OCN Identity
Store your private key safely
Step 1)
Step 1
Step 2
EWT
Step 2.
Step 2
OCPI 2.2. documentation
Volta faucet
Liquid Exchange
BitMart Exchange
Kucoin Exchange
Energy Web Public Test Network (Volta)
Energy Web Production Network (Energy Web Mainnet)