-

Archon¶

+

Archon¶

Class

This is the main class of Archon.

@@ -95,12 +95,12 @@

Archon.versionarchon container object.

-
-

Returns¶

+
+

Returns¶

String: The current version.

-
-

Example¶

+
+

Example¶

-
-

Example¶

+
+

Example¶

Instantiate Archon as an object to have access to all initialized modules.

-
-

Parameters¶

+
+

Parameters¶

  1. myProvider - Object|String: A provider object or URI.
-
-

Returns¶

+
+

Returns¶

Boolean

-
-

Example¶

+
+

Example¶

var Archon = require('archon');
 var archon = new Archon('http://localhost:8545');
 
@@ -186,23 +186,23 @@ 

Example archon.arbitrator.setProvider('https://mainnet.infura.io/')

+
-
-

archon.setIpfsGateway()¶

+

archon.setIpfsGateway()¶

archon.setIpfsGateway(ipfsGatewayURI)
 

Will change the IPFS gateway environment variable.

-
-

Parameters¶

+
+

Parameters¶

  1. ipfsGatewayURI - Object: A URI to a trusted IPFS gateway .
-
-

Example¶

+
+

Example¶

var Archon = require('archon');
 var archon = new Archon('http://localhost:8545');
 
@@ -229,25 +229,25 @@ 

Table of Contents

  • Archon.version
  • Archon.utils
  • new Archon()
  • archon.setProvider()
  • archon.setIpfsGateway()
  • @@ -255,8 +255,8 @@

    Table of Contents

    Previous topic

    -

    IPFS Links and Validation

    +

    Evidence Examples

    Next topic

    archon.arbitrable

    @@ -293,7 +293,7 @@

    Navigation

    next |
  • - previous |
  • diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html index 8ef926b..ace4f6f 100755 --- a/docs/_build/html/index.html +++ b/docs/_build/html/index.html @@ -68,7 +68,9 @@

    archon - Ethereum Arbitration Standard APIIPFS Links and Validation
  • Evidence Examples
      diff --git a/docs/_build/html/ipfs.html b/docs/_build/html/ipfs.html index ddd96f4..ec97812 100644 --- a/docs/_build/html/ipfs.html +++ b/docs/_build/html/ipfs.html @@ -18,7 +18,7 @@ - +
  • -

    Acceptable:

    +

    Not Recommended:

    const ipfsHasher = data => {...}
     const fileURI = "https://gateway.ipfs.io/ipfs/QmQhJRhvwgBPRdee18pK6QDECysFPuvuDLZMSeexdUfEiH"
     const evidenceJSON = {
    @@ -109,7 +136,9 @@ 

    Using /ipfs/Table of Contents

    @@ -118,8 +147,8 @@

    Previous topic

    Hashing Examples

    Next topic

    -

    Archon

    +

    Evidence Examples

    This Page