MCPcopy Index your code
hub / github.com/Holo-Host/holo-hosting-app-redux

github.com/Holo-Host/holo-hosting-app-redux @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
60 symbols 92 edges 28 files 3 documented · 5% updated 4y agov0.4.1-alpha1 · 2019-11-28★ 441 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Holo Hosting App

License: GPL v3

Status: Closed-Alpha. Early development and testing.

The hosting app is a space for Hosts and App Providers to interact

App Providers list their apps along with their hosting preferences. This makes the app available for hosting. It registers a domain name for the app and other stuff.

Hosts declare their intention to host an app and record their private signed service logs here. They can also compile invoices for their app Providers.

How to run test?

cd dna-src && hc test 

Note since this repo is in dev mode, you would have to pull the holochain-rust repo in the same folder you pull this repo into. This is required to run the hc test with the latest nodejs_conductor in the holochain-rust.

How to build DNA?

After running the cmd bellow you will find the .dna.json in the dna-src/dist folder

cd dna-src && hc package 

How to quickly spin up an agent

This could be used to test the UI

Steps to run two DNAs:

  1. Open two terminals at @Holo-Hosting-App

  2. Update the start-dna-agent1 script in the package.json

    • Find the start-dna-agent1 script inside the package.json
    • Update the HC_N3H_PATH to path of the n3h repo on your local device.(eg: HC_N3H_PATH=/home/lisa/n3h)
  3. In the first terminal, run agent1's DNA ``` npm run start-dna-agent1 ````

  4. Update the start-dna-agent2 script in the package.json BEFORE running agent2 - Find the start-dna-agent2 script inside the package.json - Update the HC_N3H_PATH to path of the n3h repo on your local device. - Add the HC_N3H_BOOTSTRAP_NODE as provided in the networking details within the terminal when running agent1's DNA. (As shown on line #9 in the terminal snippet below.) - Add the HC_N3H_IPC_URI as provided in the networking details within the terminal when running agent1's DNA. (As shown on line #3 in the terminal snippet below.)

```= (wss-connection) [i] listening at wss://127.0.0.1:41249/ Network spawned with bindings: - ipc: wss://127.0.0.1:41249/ - p2p: [] (p2p-hackmode) [i] node-id hkaQGtTemslrK79wHSwqQONetfVxUenB-ElgD1-RnnmxguJO_VCPdK2ZPKADdIjpu0xvI1yF6HTjD132jLA3rOMWTZKVR605 (wss-server-utils) [i] loaded rsa fingerprint faqnfO4LeJSOWCvVLLjXSN+7TPQ= (wss-connection) [i] listening at wss://192.168.0.7:42179/ (@hackmode@) [i] p2p bound wss://192.168.0.7:42179/?a=hkaQGtTemslrK79wHSwqQONetfVxUenB-ElgD1-RnnmxguJO_VCPdK2ZPKADdIjpu0xvI1yF6HTjD132jLA3rOMWTZKVR605

```

  1. In the second terminal, run agent2's DNA npm run start-dna-agent2

Documentaion:

KV Store API: Doc required by the KV Store to communicate with the HHA

Built With

Authors

Core symbols most depended-on inside this repo

Shape

Function 43
Class 17

Languages

Rust100%

Modules by API surface

dna-src/zomes/provider/code/src/provider_fn.rs19 symbols
dna-src/zomes/host/code/src/host_fn.rs18 symbols
dna-src/hc_common/utils/src/lib.rs6 symbols
dna-src/zomes/whoami/code/src/whoami_fn.rs2 symbols
dna-src/zomes/provider/code/src/entry/provider_doc.rs2 symbols
dna-src/zomes/provider/code/src/entry/holofuel_account.rs2 symbols
dna-src/zomes/provider/code/src/entry/domain_name.rs2 symbols
dna-src/zomes/provider/code/src/entry/app_details.rs2 symbols
dna-src/zomes/provider/code/src/entry/app_config.rs2 symbols
dna-src/zomes/host/code/src/entry/payment_pref.rs2 symbols
dna-src/zomes/host/code/src/entry/host_doc.rs2 symbols
dna-src/zomes/provider/code/src/entry/anchor.rs1 symbols

For agents

$ claude mcp add holo-hosting-app-redux \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page