# Develop on the Test Network

The Public Test Network is the pre-production test network of the Open Charging Network.

&#x20;It should be used to test services and features in a robust quality assurance environment. To develop on the test network, you can connect to an OCN test node and the OCN Registry that is deployed on the Volta Test Network. See more details on this below:

* [OCN Registry on Volta Test Network](#ocn-registry-on-volta-test-network)
* [Connect your service to an OCN test node](#connecting-a-service)
* [Run a node in a test environment](#title-text)
* [Testing tools](#testing-tools)

{% hint style="info" %}
*Please note, that it is not advised to run a service in production on the Public Test Network. Energy Web Foundation reserves the right to make changes to the testing components on this environment, that could affect your service.*
{% endhint %}

{% hint style="info" %}
Access the full OCN technical documentation [here](https://shareandcharge.com/wp-content/uploads/2020/11/OCN-Documentation-v1.1.pdf).
{% endhint %}

## OCN Registry on Volta Test Network

The Volta Test Network is the pre-production test network (testnet) of the Energy Web Chain. It is the blockchain equivalent of a test server or test environment in traditional software development.

The [OCN Registry](/legacy-documentation/glossary-of-terms.md#open-charge-network-ocn-registry) for the test network can be found on Volta under the following public key: `0xd57595D5FA1F94725C426739C449b15D92758D55.`

You can view transactions and the log history for this contract on the Volta Block Explorer [here](https://volta-explorer.energyweb.org/address/0xd57595D5FA1F94725C426739C449b15D92758D55/transactions). If you're unfamiliar with the Block Explorer, you can read more [here](/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/block-explorer.md).&#x20;

## Connect your Service to an OCN Test Node

The Public Test Network of the Open Charging Network provides you with some public test OCN Nodes that you can use for testing the features of the Open Charging Network.&#x20;

The following test OCN test nodes are currently known to Energy Web Foundation:

* eMobilify GmbH with OCN Identity `0x4174161e7B8f137De780C024D0e988f4039F8C70`\
  \- ~~You can obtain a~~ [~~registration token (Token\_A)~~](https://shareandcharge.atlassian.net/wiki/spaces/OCN/pages/409239555/Connect+your+service+to+an+OCN+Node#2.-Get-OCN-Node-versions-and-endpoints) ~~for this node here:~~ [~~https://qa-faucet.shareandcharge.com/~~](https://qa-faucet.shareandcharge.com/) Temporarily unavailable\
  \- By using the Public Test node provided by eMobilify GmbH, you accept the Terms\&Conditions and Data Protection Guidelines by eMobilify GmbH. Please visit the [company website](https://emobilify.com/) to learn more, or reach out to <info@emobilify.com>
* Elaad NL with PublicURL [ocn.elaad.io](http://ocn.elaad.io/) (Reach out to <harm.van.den.brink@elaad.nl> to obtain the OCN Identity and the registration token)

Follow the steps outlined in the ["Connect your Service to an OCN Node" ](/legacy-documentation/solutions-2023/open-charging-network/connect-an-ocpi-ocn-party-to-a-node/4.-connect-your-service-to-an-ocn-node.md)in order to connect your service to one of the nodes listed above.

## Run a Node in a Test Environment <a href="#title-text" id="title-text"></a>

The Public Test Network should give you the option to test your OCN Node operation in a QA environment.

The OCN-Registry for the Public Test Environment can be found on the [Volta Test Blockchain by Energy Web ](https://energyweb.atlassian.net/wiki/spaces/EWF/pages/702677023/Chain+Volta+Test+Network)under the following public key: `0xd57595D5FA1F94725C426739C449b15D92758D55`

Follow the steps outlined in the [Run and OCN Node](/legacy-documentation/solutions-2023/open-charging-network/run-an-ocn-node.md) for guidance on how to run a nod&#x65;**.**

## Testing Tools

The Open Charging Network provides mock OCPI parties for exchanging simple OCPI requests over the Public Test Network.

One Mock CPO and one Mock eMSP are available on the Public Test Network (i.e. registered in the Registry contract that is deployed on the Volta Testnet)

| **Mock**                   | **Country Code** | **Party ID** |
| -------------------------- | ---------------- | ------------ |
| Charge Point Operator      | CH               | CPO          |
| eMobility Service Provider | CH               | MSP          |

Please note that the functionality of both mock parties is limited, and does not implement or cover all OCPI modules and use-cases. Details can be found on the Bitbucket repository: [tutorial-servers](https://bitbucket.org/shareandcharge/ocn-demo/src/master/tutorial-servers/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.energyweb.org/legacy-documentation/solutions-2023/open-charging-network/develop-on-the-test-network.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
