MCPcopy Index your code
hub / github.com/ethernity-cloud/mvp-pox-client

github.com/ethernity-cloud/mvp-pox-client @v0.2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.2 ↗ · + Follow
32 symbols 128 edges 8 files 1 documented · 3% updated 3y agov0.2.2 · 2022-11-30★ 2461 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ethernity Python Client

This repository provides a python example of Proof of eXecution code.

1. Create config file:

cat << EOF > config
ADDRESS=0xd812E09e331e3bba6ecC6d3E10a8Ac461A77a7F2
PRIVATE_KEY=08075e59c931bcc4fc7a57e79a566a47345fff4048f6970168696d76796a4df3
EOF

2. Run a script with a fileset

$./pox-do -s <script> -f <fileset>

script - a python script to be uploaded via IPFS for running
fileset - a fileset to be uploaded via IPFS for running

Examples:

edit scripts/uppercase/fileset/file1.txt
./pox-do -s scripts/uppercase/uppercase.py -f scripts/uppercase/fileset

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

Core symbols most depended-on inside this repo

_readABI
called by 1
src/do.py
_parse_args
called by 1
src/do.py
_baseConfigs
called by 1
src/do.py
_connect_ipfs_gateway
called by 1
src/do.py
_add_do_request
called by 1
src/do.py
_wait_for_processor
called by 1
src/do.py

Shape

Method 26
Function 4
Class 2

Languages

Python100%

Modules by API surface

src/do.py27 symbols
scripts/neural-network/neural-network.py2 symbols
src/config.py1 symbols
scripts/module-import/fileset/mymodule/__init__.py1 symbols
scripts/cos-bench/cos-bench.py1 symbols

For agents

$ claude mcp add mvp-pox-client \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact