Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tchardin/myel-ethonline
Content retrieval payment manager
https://github.com/tchardin/myel-ethonline
ethereum filecoin ipfs
Last synced: 2 months ago
JSON representation
Content retrieval payment manager
- Host: GitHub
- URL: https://github.com/tchardin/myel-ethonline
- Owner: tchardin
- Created: 2020-10-03T09:17:55.000Z (about 4 years ago)
- Default Branch: dev
- Last Pushed: 2020-11-02T08:24:11.000Z (about 4 years ago)
- Last Synced: 2024-09-30T07:21:29.543Z (3 months ago)
- Topics: ethereum, filecoin, ipfs
- Language: Go
- Homepage:
- Size: 10.9 MB
- Stars: 6
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
_**Note**: this project is now developed [here](https://github.com/myelnet/go-myel-network)_
# Myel | ETHOnline
We started this repo to separate development during ETHOnline hackathon. We have a developed a
MacOS app in a private repo to interact with retrieval market. We may release an open source web
UI in the future so anyone can fork and create their own client for the retrieval market.This repo features our first working retrieval market implementation in golang as well as
prototype contracts for our retrieval payment management and FIL lending systems.You can find information about how to run the oracle system in its sub directory.
## Getting Started
The retieval market relies on a remote lotus node we run ourselves. There is a token
in the source that can be used to run the app however if we see increase usage we may
disable it at any time. The new Filecoin product from Infura should also work.Both nodes need wallets with addresses on chain. The provider node will look for a `provider.private` key
file and client node looks for a `client.private`. There is a program to generate new addresses in
the filground directory but you still need to start with a private key file to a small amount of FIL from.### Running the provider
First we can run the provider node
```
cd rtmkt/provider
go run .
```This will load an arbitrary file from a web url into a temporary IPFS repo and start
looking for peers on the local network.Once a retrieval happened our provider node will update the payment channel and settle it.
### Running the client
```
cd rtmkt/client
go run .
```Our client node will look for a provider peer on the local network and immediately start
a retrieval.### Running the api
The starts a node which can both provide and retieve content. It uses separate addresses
for easier debugging experience.```
cd rtmkt/api
go run .
```## UI
We will update this part soon with instructions on how to download the macOS app.
We plan on building a windows version too but feel free to open an issue if you'd
like us to prioritize it in our roadmap.## Contributions
Best thing is to reach out if you'd like to contribute so we can sync up properly.
We'll review PRs and issues too.If you want to buy us coffee you can drop some FIL at `f13t4qv2lvlwowq67d2txl7auiddhlppca3nw5yxa`.