Module: CorrentlyWallet

Ethereum Blockchain Wallet implementing Green Energy semantics for Corrently based decentralized capacity market.

Source:

Members

(inner, constant) CORRENTLY

Core Constants for semantics used in decentralized capacity market

Source:

Methods

(inner) buyCapacity(asset, quantity)

OTC buy capacity from market

Parameters:
Name Type Description
asset string

Address Contract to buy from

quantity number

Amount of capacity to buy

Source:

(inner) CorrentlyAccount(address) → {Object}

Digital twin of consensus driven account identified by address

Parameters:
Name Type Description
address string

Address of a twinable account

Source:
Returns:

Digital twin identified by address

Type
Object

(inner) CorrentlyIoT(address) → {number}

IoT Wrapper to Corrently-IoT implementation

Parameters:
Name Type Description
address string

Address of a thing

Source:
Returns:

Value of thing

Type
number

(inner) deleteData(address)

GDPR compliance to delete personal and private data from OTC transactions

Parameters:
Name Type Description
address string

Address of wallet

Source:

(inner) deletePending(nonce)

Delete a pending transaction from q

Parameters:
Name Type Description
nonce string

nonce of a pending transaction

Source:

(inner) linkDemand(ethereumAddress)

Link confirmed consumption source to wallet. Any provider or authority might create new demand links. Typical use of this function is after receiving a demandLink from a provider/utility.

Parameters:
Name Type Description
ethereumAddress string

Address to link with

Source:

(inner) Market() → {Object}

Retrieve market data OTC (Over the counter trade) as provided by Corrently Corp

Source:
Returns:

Market data of all assets

Type
Object

(inner) newDemand(options)

Request new Demand Link - This method might be used to tell an energy provider to publish a new deman link for this account. Typical usage is to set email and provider in options. The given energy provider will get in contact with you to negotiate an offer. As soon as an energy contract is in place a demanLink will be published and could be used with the function linkDemand.

Typical Options:

  • email: communication address for contract, offer negotiation. Only allowed to be used for this Communication
  • provider: Might be 'stromdao' as contact persion (request will be routed to this provider)
  • yearlyDemand: Kilo-Watt-Hours per Year requested
  • address: Geo-Coded Address for point of consumption
Parameters:
Name Type Description
options object

Options required for energy provider to create a demandLink

Source:

(inner) performance(asset) → {Object}

Retrieve Performance profile of given asset. Corrently has a day based performance monitoring for assets on the market. This is subject to be changed in later releases to merge with Performance package

Parameters:
Name Type Description
asset string

transaction hash of asset contract setup

Source:
Returns:

Performance data as returned by asset schema

Type
Object

(inner) Performance(meterid) → {Object}

Retrieve Performance profile of given asset Metering ID. Note: This is not standarized at the moment and schema is subject to be changed.

Parameters:
Name Type Description
meterid string

unique id to dispatch

Source:
Returns:

Performance data as given by meter schema

Type
Object

(inner) setMeta(key, value)

Set Key Value MetaInformation for account Allows to associate signed meta information to an account which becomes publicly available

Parameters:
Name Type Description
key string

Of Meta Date

value string

Of Meta Date

Source:

(inner) Stromkonto(meterid) → {Object}

Retrieve Stromkonto Balances for given account. Note: This does not retrieve data from BLC - instead it is using Corrently service

Parameters:
Name Type Description
meterid string

unique id to dispatch

Source:
Returns:

Performance data as given by meter schema

Type
Object

(inner) transferCapacity(ethereumAddress, kilowatthours)

Transfer generation capacity to another ethereum account

Parameters:
Name Type Description
ethereumAddress string

Address to receive capacity

kilowatthours number

Kilo-Watt-Hours per year to transfer

Source: