ZAP ADMIN

The Zap Admin (found at admin.zap.org ) allows users to register new accounts on zap, create oracle and tokenized service listings on the platform, as well as bond and unbond to other oracles and tokenized services.

Users can enter the web admin by logging in with their Ethereum account’s mnemonic phrase or via the Metamask browser extension.

This is the initial interface of the Zap Admin. Be sure to read the Terms and Conditions and, if you agree, select the “I have read and agreed to the above terms” option.

**When using metamask, remember to ensure that you are logging into the desired network. For example, to test the admin on the Kovan network, ensure your metamask extension is set to the Kovan test network

After agreeing to the conditions and selecting the network, you will be taken to the following page, which allows you a number of immediate abilities.

You may notice that some features are not initially available. This is because your account is not yet setup as a provider and those options are partial to a provider. As we chronologically go through the tabs below (other than Account Config, which is for advanced users and is listed last), we will make a provider account under the “Create Account” tab, which will then allow us to interact with each following tab.

My Wallet Info:

This provides you your ETH Balance and ZAP Balance (in wei) as well as a QR code for the account. You can send Zap to another account here. (*Note, this wallet has been updated to now send ETH.)

Create Account:

This tab allows you to begin the process of creating an account. After choosing a title, click “create provider” and pay the gas fee to initiate the contract on the providers end. For this account, we made an account named “Mainnet Oracle.”

After the transaction has confirmed, a page refresh will show you as a provider.

After registering an account to become a ‘provider’, the “Update account” tab will allow you to update the title of your account.

New Oracle/Service:

Use the New Oracle/ Service tab to set a Price versus Supply bonding curve. You also have the ability to links to Markdown or JSON schema that will be saved on the blockchain as metadata for the service.

For this oracle, we will use one curve set at price = 2x², where x is the number of service tokens( dots) you have issued.

(You can add various equations throughout your curve, if you choose. For instance, if I set the previous equation 2x² in the curve starting at 1 and to 100, you could then have the curve transition to, say, a flatline from 100 to 200)

This can be updated until the initiation of what will ultimately be your oracle/service listing.

Clear Endpoint:

If you have made an error and want to delete your oracle/service endpoint BEFORE it has been bonded to, you have the ability to do that here.

Browse Oracles/Services:

This tab displays a list of providers and their oracle/service endpoints. If you want to search for a specific oracle, such as one you saw listed on OracleMarketCap.com, you can search by address or name.

If we click on the above MaxCrypto oracle/service endpoints, you will see two listed. One for a PoloniexAPI oracle and another for a BitStampAPI oracle.

By clicking on the PoloniexAPI you can receive information specifically about that endpoint.

Oracle/Service

If you already have the address of the provider whose endpoints you want to interact with, you can directly access this information here. This is possible because the provider account which created the PoloniexAPI oracle saved the url of markdown document when created their oracle( saved in provider account key-value under key PoloniexAPI.md )

Using this address of the EasyOracle.0.1 you can immediately access all the endpoint of this provider.

Here we see options for the two endpoints of this provider. Selecting one will take you to the same information page accessed through the “browse Oracles/services.”

Bond:

Here you may bond ZAP in exchange for access tokens( DOTS ) specific to the oracle or service chosen. Once you provide the provider address and select the endpoint, similar to the previous section, you can then bond Zap for Dots.

You balance is listed in wei ZAP so is the amount that will be bonded. When you enter the number of how many Dots you would like to recieve, you will be informed how much wei ZAP is required and if you have enough.

Unbond

The unbonding tab involves the same steps required in bonding. You will provide the address and select the endpoint you wish to unbond to.

After selecting the endpoint you want to unbond from, you can select just how many DOTS to exchange for ZAP in wei ZAP

Account Config( advanced users):

This tab allows you to view or edit your account’s key-value store. This requires your parameter key and parameter value.

By default, Zap tools look for 2 types of optional metadata associated with your curves in the account key-value store: Endpoint-name.md and Endpoint-name.json ( ex. PoloniexAPI.md and PoloniexAPI.json) . These are optionally set when configuring your oracle/service bonding curve

Oracle/Service Configs( advanced ):

Set or get oracle/service configuration variables for the oracles/services you have registered. Variables could include public keys available to subscribers to sign messages or keys that your service expects subscribers to provider when querying or initiating a subscription.