Skip to main content

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

Metadata

Release files for open-waters 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-waters 0.9
File Size Uploaded
open_waters-0.9.tar.gz 5.6 kB Details

Release files / open_waters-0.9.tar.gz

Download URL open_waters-0.9.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
79937fa304d424d9dc76bb21ac519e77536b1890cfa936c35712d7f522fbd8db
BLAKE2b-256 checksum
How to use checksums
b2b6301ee8608db0893ab430059f4e3fd789a79b7b8c131d8a3ec74bfd82f78a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.9 This release

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page