All Projects → filecoin-shipyard → js-filecoin-api-client

filecoin-shipyard / js-filecoin-api-client

Licence: other
An API client for Filecoin

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to js-filecoin-api-client

web3.storage
⁂ The simple file storage service for IPFS & Filecoin
Stars: ✭ 417 (+826.67%)
Mutual labels:  fil, filecoin
pop
Run a point-of-presence within Myel, the community powered content delivery network.
Stars: ✭ 28 (-37.78%)
Mutual labels:  filecoin
tokencore
The core components of the blockchain wallet backend, support a variety of blockchain address generation and offline signatures
Stars: ✭ 412 (+815.56%)
Mutual labels:  filecoin
bidbot
A Filecoin Network sidecar for storage providers to bid in storage deal auctions.
Stars: ✭ 31 (-31.11%)
Mutual labels:  filecoin
sentinel
Filecoin Network monitoring and analysis tools.
Stars: ✭ 26 (-42.22%)
Mutual labels:  filecoin
kotal
Blockchain Kubernetes Operator
Stars: ✭ 137 (+204.44%)
Mutual labels:  filecoin
filecoin-docs
Filecoin Docs
Stars: ✭ 183 (+306.67%)
Mutual labels:  filecoin
filecoin-client
Golang的轻量级filecoin客户端,支持离线签名,基本满足钱包交易所充值提现逻辑
Stars: ✭ 50 (+11.11%)
Mutual labels:  filecoin
filecoin-box
Filecoin flavored Ganache Truffle box
Stars: ✭ 23 (-48.89%)
Mutual labels:  filecoin
estuary
A custom IPFS/Filecoin node that makes it easy to pin IPFS content and make Filecoin deals.
Stars: ✭ 195 (+333.33%)
Mutual labels:  filecoin
valist
Web3-native software distribution. Publish and install executables, Docker images, WebAssembly, and more. Powered by Ethereum, IPFS, and Filecoin.
Stars: ✭ 107 (+137.78%)
Mutual labels:  filecoin
estuary-www
https://estuary.tech
Stars: ✭ 32 (-28.89%)
Mutual labels:  filecoin
digital-copyright
Stamp your code with a trackable digital copyright
Stars: ✭ 17 (-62.22%)
Mutual labels:  filecoin
lighthouse
Get verifiable storage on Filecoin Network directly from Ethereum Smart Contracts
Stars: ✭ 19 (-57.78%)
Mutual labels:  filecoin
filsnap
MetaMask snap for interacting with Filecoin dapps.
Stars: ✭ 60 (+33.33%)
Mutual labels:  filecoin
ref-fvm
Reference implementation of the Filecoin Virtual Machine
Stars: ✭ 255 (+466.67%)
Mutual labels:  filecoin
nebula-crawler
🌌 A libp2p DHT crawler, monitor, and measurement tool that exposes timely information about DHT networks.
Stars: ✭ 97 (+115.56%)
Mutual labels:  filecoin
java-filecoin-api-client
An API client for Filecoin implemented in Java
Stars: ✭ 38 (-15.56%)
Mutual labels:  filecoin
research
distributed system;blokchain;filecoin/ipfs,...
Stars: ✭ 39 (-13.33%)
Mutual labels:  filecoin
filecoin-sealer-recover
Filecoin sector recover
Stars: ✭ 51 (+13.33%)
Mutual labels:  filecoin

filecoin-api-client

Status

This repository is in a frozen state. It is not being maintained or kept in sync with the libraries it depends on. This library was designed for an early version of go-filecoin, which is now known as Venus. An API client for Lotus can be found at https://github.com/filecoin-shipyard/js-lotus-client-rpc. Even though work on this repository has been shelved, anyone interested in updating or maintaining this library should express their interest on one Filecoin community conversation mediums: https://github.com/filecoin-project/community#join-the-community.


CircleCI branch dependencies Status JavaScript Style Guide

An API client for Filecoin

⚠️ WARNING: Filecoin is under heavy development and breaking changes are highly likely between versions. This library is experimental, incomplete and unsupported by the Filecoin team. It may be broken in part or in entirety.

🧩 Currently compatible with Filecoin 0.3.2

Install

npm i filecoin-api-client

Usage

Node.js

const Filecoin = require('filecoin-api-client')

const fc = Filecoin({
  apiAddr: '/ip4/127.0.0.1/tcp/3453/http' // (optional, default)
})

// see API below for usage

Browser

<script src="https://unpkg.com/filecoin-api-client/dist/Filecoin.js"></script>
<script>
  const fc = Filecoin({
    apiAddr: '/ip4/127.0.0.1/tcp/3453/http' // (optional, default)
  })

  // see API below for usage
</script>

CORS

In a web browser, the Filecoin API client might encounter an error saying that the origin is not allowed. This is a CORS ("Cross Origin Resource Sharing") failure: Filecoin servers send HTTP headers allowing access to only certain origins by default. You can whitelist the origins that you are calling from by changing your Filecoin config like this:

$ filecoin config api.accessControlAllowOrigin '["http://example.com"]'

API

Status: 35/57 61%

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

The Filecoin Project is dual-licensed under Apache 2.0 and MIT terms:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].