Questions tagged [filecoin]

Use this tag for programming questions relating to the Filecoin cryptocurrency protocol.

13 questions
2
votes
1 answer

How to add a list of CIDs to an IPFS node

I have a list of CIDs (4,000 of them) that I uploaded to nft.storage and now I wish to import them to my own IPFS node. What is the easiest way to do this in bulk? I checked the ipfs add command but seems like I can only add one file (not CID) at a…
codanad376
  • 65
  • 6
2
votes
1 answer

new API key for Filecoin Lotus node

I'm trying to generate a new API-KEY for a Lotus node (existing one may have been compromised), but when I run lotus auth create-token --perm read it simply returns the existing key. The docs seem to suggest there is also an authnew command, but…
dark_ben
  • 81
  • 5
2
votes
0 answers

Access Permissions in Filecoin

Can I limit access to my files in File Coin as in Google Drive? Or anybody can download them? For example, only a particular Public Key can have access to the file.
1
vote
1 answer

Compute CID of data in Go

I need to compute the CID of some data in Golang, right now I'm using this code, but the CID I receive is different than what I get when I upload the file to Filecoin or add it to a Lotus node. This is my code: "github.com/ipfs/go-cid" ma…
lajosdeme
  • 2,189
  • 1
  • 11
  • 20
1
vote
1 answer

Can't import directory in filecoin lotus node

I am running a lotus client, but when I run: lotus client import I get: ERROR: failed to import file using unixfs: failed to import file to store to compute root: read…
Patrick Collins
  • 5,621
  • 3
  • 26
  • 64
1
vote
0 answers

Filecoin When creating a wallet, the private key does not match the address

import org.bitcoinj.core.ECKey; import org.bitcoinj.crypto.MnemonicCode; import org.bitcoinj.crypto.MnemonicException; import ove.crypto.digest.Blake2b; ECKey ecKey = new ECKey(); byte[] privKeyBytes = ecKey.getPrivKeyBytes(); byte[] pubKey =…
kevin shen
  • 11
  • 2
1
vote
1 answer

How do I upgrade Filecoin Lotus to the latest version?

I'm running a Lotus daemon and a new release was pushed to master. How do I upgrade to the latest version?
jclay
  • 988
  • 1
  • 7
  • 10
0
votes
0 answers

which one is better between GUNDB and filecoin in terms of props. and cons. ? which will be better for storing mutable data

what is difference between GUNDB and filecoin in terms of props. and cons. ? which will be better for storing mutable data.
0
votes
0 answers

Library gives error when building on real device

I am using flotus package to develop a crypto wallet for filecoin, on a simulator everything works fine, but trying to use my personal device to install the app I get this error In…
Davy King
  • 27
  • 8
0
votes
1 answer

What's the quickest way to store an IPFS hash onto filecoin?

I have an IPFS Hash / URL and I'd like to store it on Filecoin. What is the quickest most effective way for me to do so?
Patrick Collins
  • 5,621
  • 3
  • 26
  • 64
0
votes
0 answers

How to generate polkadot, filecoin address from xpub

I have a xpub(extended public key) right now,and I want use this xpub to generate a polkadot address. so in my wallet I can use this address receive dot coin. function xpubToDotAddress(xpub){ ...logic here; return address; }
0
votes
1 answer

Filecoin Textileio Powergate Not Enough Miners from Reputation Module to Satisfy The Constraints Error

I am running WSL Ubuntu 20.04 (Version 2 with Docker Desktop Support) within Windows 10 Pro Version 21H1 The steps are as follows: git clone https://github.com/textileio/powergate.git cd powergate/ cd docker/ nano docker-compose.yaml where I added…
ChristianOConnor
  • 820
  • 7
  • 29
0
votes
0 answers

filecoin "mineOne: unexpectedly nil MiningBaseInfo"

I have lotus miner running and it gives me this error in /var/log/lotus/miner.log over and over {"level":"warn","ts":"2021-05-14T13:55:06.402Z","logger":"miner","caller":"miner/miner.go:429","msg":"mineOne: unexpectedly nil MiningBaseInfo for round…
Carlos Rincon
  • 13
  • 1
  • 6