Skip to main content

No project description provided

Project description

Open Waters

Open Waters is the simplest method to add Hedera Hashgraph to your supply chain or software. Using the Armada Platform, Open Waters offers straight forward interactions with Hedera Hashgraph including account creation, and sending data. Open Waters can also be used to access the benefits of the Armada Platform for data organization, conditional flows and managing supply chain interactions.

How to use

from open_waters import OpenWater

# Init an open water client without api key
client = OpenWater()

# The return client exports only one function "account.create"
account = client.account.create('username', 'email@a.a','name', 'company')

# Re-init an open water client with api key created from account
client = OpenWater(account['privateKey'])

# Now you can access full functions

Functions:

Account

Account functions handle account creation and management on the Armada Platform and Hedera Hashgraph.

create

- Creates Armada account with associated Hedera Hashgraph account. The Armada ID is used as an identifier for functions and activities on the platform.

get

- Calls account information by the Armada ID.

my_account

- Returns information about the caller's account.

update

- Updates account information for Armada ID.

Flow

Flows are data sets on the Armada Platform for supply chain processes. Each flow is represented as Hedera Consensus Topic on Hedera Hashgraph. A flow can consists of steps to create conditional logic in the supply chain.

create

- Creates a flow. A flow can be of two types: Track and Trace which includes the steps structure or Data Audit which serves as a transaction list.

get

- Get returns flow information for Flow ID.

list

- Returns all flows associated with caller's ID.

update

- Update flow information for Flow ID.

Data

Data functions handle interactions with Armada Flows/Hedera Consensus Topics. To be used mainly with Data Audit Flows.

get

- Retrieves data from Armada Flow/Consensus Topic in list format

push

- Push data to Armada Flow/Consensus Topic. Option to encrypt data.

Step

Step functions handle creation and updates for steps in a track & trace flow.

create

- Create step for flow.

get

- Get flow.

list_by_flow

- Lists all steps

remove

- Removes a specific step from flow.

update

- Updates step parameters in flow.

validate

- Validate is called by validator in step to approve steps completion. Flow then proceeds to next step.

Dataset

Data sets are data structures for a specific step in a flow. This can be for example x amount of goods manufactured, or y amount of goods received.

create

- Create a data set.

get

- Get information for data set by ID.

list

- List all data sets.

remove

- Remove a data set by ID.

update

- Update data set by ID.

Document

Document function allows user to upload a document to the Armada Platform which is then hashed and sent to Hedera Hashgraph.

upload

- Upload document.

Working with the Armada Platform

If interested in using the Armada Platform in your supply chain or company, contact us at contact@armadachain.io.

License

See LICENSE for details. Armada Chain Inc 2020

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_waters-0.9.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file open_waters-0.9.tar.gz.

File metadata

  • Download URL: open_waters-0.9.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.23.1 CPython/2.7.13

File hashes

Hashes for open_waters-0.9.tar.gz
Algorithm Hash digest
SHA256 79937fa304d424d9dc76bb21ac519e77536b1890cfa936c35712d7f522fbd8db
MD5 441f5e121876d0a2bdb692b5e13babd7
BLAKE2b-256 b2b6301ee8608db0893ab430059f4e3fd789a79b7b8c131d8a3ec74bfd82f78a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page