Ethernity Docs
  • Welcome to Ethernity CLOUD
  • Getting Started
  • Ethernity Node Quick Start
    • Hardware Requirements
    • BIOS Settings
    • Supported Platforms
    • Blockchain Settings
    • Security Considerations
    • Installation
  • Ethernity Client Quick Start
    • Platforms and dependencies
    • Blockchain Settings
    • Security Considerations
    • Installation
  • ethernity node
    • Prerequisites
      • Hardware with SGX Support
      • Check SGX Support
      • Installing Linux
        • Download
        • USB Installation Media
        • Ubuntu 18.04 LTS
        • Ubuntu 20.04 LTS (Recommended)
        • Ubuntu 22.04 LTS (Experimental)
        • SSH Connection
      • Blockchain Wallets
    • Download
    • Installing the Node
    • Update the node
    • Configuring the Node
      • Select the network
        • Mainnet on Bloxberg
          • ETNY on Bloxberg
        • Testnet on Bloxberg
          • Data Processors
          • Bloxberg (BERGS)
          • tETNY on Bloxberg
          • tETNY Faucet
        • Mainnet on Polygon
          • ECLD on Polygon
        • Testnet on Polygon (MUMBAI)
      • Task execution price
      • Resources configuration
    • Monitoring the Node
    • Troubleshooting issues
    • Firewall Rules
    • Proof of eXecution
      • Blockchain Metadata
      • IPFS
    • Node Reset
      • Node Connect
        • DHCP
        • Static IP
        • Console
      • Change Password
      • Node wallets
  • Mainnet
    • Mainnet on Bloxberg
    • ETNY on Bloxberg
    • Mainnet on Polygon
    • ECLD on Polygon
  • TESTNET
    • Data Processors
    • Bloxberg (BERGS)
    • tETNY on Bloxberg
    • tETNY Faucet
    • Polygon (MUMBAI)
  • Developer Guide
    • Introduction
    • The EC Protocol
      • Data flow inside EC
    • The GUIDE
      • Environment Prerequisites
      • Step-by-Step dApp
  • ENS Domain Registration
    • Introduction
    • ENS Smart Contract Details
      • Polygon Mainnet
      • Bloxberg Mainnet
    • Registration Steps (ENSRegistrarController)
  • Ethernity Client
    • Prerequisites
      • Python 3.6+
      • git
      • Blockchain Wallet
    • Download
    • Running the Client
    • Configuring the Client
    • Proof of eXecution
      • Blockchain metadata
      • IPFS
  • Ethernity Smart Contract
    • Data Owner API
    • Data Processor API
  • Wallet
    • MetaMask
    • Installation
    • New Wallet
    • Restore Wallet
    • Wallet Validation
    • Contract Upgrade
    • Receive ETNY - Optional step
    • Send ETNY - Optional step
    • Change RPC URL
  • Public Sale Buying Journey
    • Round 1
      • Interest Registration
      • Public sale start
      • Queue placement
      • Crypto (USDT) payment
      • Bloxberg receiving address
      • Troubleshooting
    • Round 2
      • ❗VERY IMPORTANT
      • Interest Registration
      • Login
      • KYC - R2
      • Queue placement
      • Payment Options
        • USDT
        • Coin Payments - Crypto
        • Coin Payments - Paypal
    • Round 3
      • ❗VERY IMPORTANT
      • Interest Registration
      • Login
      • KYC
      • Package Selection
      • Payment Methods
        • DIRECT
          • USDT - ERC-20
          • USDT - TRC-20
          • USD - Polygon
          • BUSD - BSC
        • COINPAYMENTS
        • PAYPAL
        • CEXs and Hot Wallets Withdraw
          • Binance
          • Coinbase
          • Kraken
          • MetaMask
          • Trust Wallet
        • Receive ETNY
  • Staking dApp
    • Intro
    • Node address and private key
    • Import private key
    • Connect wallet to dApp
    • Change connected wallet
      • Disconnect wallet address
    • Staking dApp homepage
      • Account
      • Pending
      • Approved
      • Terminated
      • Marketplace
    • Base stake
      • Create base stake
      • Approve base stake
    • Extended stake
      • Create extended stake
      • Apply for an extended stake
      • Approve extended stake
    • Open Beta Staking dApp
  • SWAP dAPP
    • Intro
    • Create Account
    • Login
    • KYC
    • Setting up the profile
    • Dashboard
    • Confirmation
    • Sign transactions
  • LIQUIDITY PROGRAM
    • Liquidity Supply Guide
    • Connect wallet
    • Select range
    • Choose contribution
    • Viewing pools
    • Remove liquidity
  • Hardware Affiliate Program
    • Intro
    • Hardware Affiliate
      • Create Account
      • Login
      • Dashboard
      • Generate codes
      • Upload Codes
      • Profile information
    • Node operator
      • Register
      • Login
      • KYC
      • Activate Device
  • Contact
    • Social Media
Powered by GitBook
On this page

Was this helpful?

  1. Ethernity Client

Running the Client

The client takes 2 parameters:

-s is the script that should run inside the remote enclave -f is the fileset that is uploaded together with the script

Included in the repository there are two scripts:

cos-bench.py and uppercase.py

./pox-do -s scripts/cos-bench/cos-bench.py -f scripts/cos-bench/fileset

./pox-do was not initialized yet
Requirements fot the ./pox-do are the following:
1. ipfs daemon running and listening on localhost:5000
2. python3 with pip
3. ipfshttpclient python module
4. web3 python module
Proceed with automated initalization [Y/n]: y
Initializing... done
2020-12-19 10:37:17.132170 Submitting transaction for DO request
2020-12-19 10:37:24.624422 Request 377 created successfuly!
2020-12-19 10:37:24.625400 TX Hash: 0x7fe587cc6b04c12a801e9963cecda35ddb0367266d225f02ecd441176221ac41
.......................................................

Some errors might show during Initialization, however if the client submits a request and a transaction is created, the errors can be ignored.

The initialization occurs only the first time the client it started. What the initialization does is install the required python modules and then download and start the ipfs daemon. It connects the ipfs daemon to ipfs.ethernity.cloud for faster hash propagation.

Your own python script

Using the -s and -f parameters you can run your own python scripts. Currently there are some limitations on what python modules and libraries are included on the python enclave. If you need specific python libraries or modules, please contact us.

PreviousDownloadNextConfiguring the Client

Last updated 4 years ago

Was this helpful?