Questions tagged [swarm]
incentivised, censorship-resistant decentralised storage
111 questions
0
votes
0
answers
10
views
Storage algorithms for Decentralized Storage System
I am working on a project to build a decentralized storage system compatible with Ethereum blockchain. I am confused between Erasure coding and Proof-of-Replication to use for data redundancy storage ...
1
vote
0
answers
218
views
Find metadata URL from EVM bytecode
Currently, I am looking for a way to extract the metadata.json file URL from the ethereum bytecode. I have referred to this doc and figured out that metadata mapping is stored CBOR-encoded manner. ...
0
votes
2
answers
1k
views
Can't resolve 'electron' in '/opt/build/repo/node_modules/swarm-js/node_modules/got'
Repo: https://github.com/vortextemporum/BoringBananasCompany
I added Infura node provider to the config.js
Deploying to Netlify using
yarn build
build dir: build
It works fine off my ubuntu 20.04 lts ...
3
votes
1
answer
1k
views
How to verify smart contracts on different solidity versions
I'd like to build my own smart contract verify system with all solidity versions both on single file and multiple files just like what etherscan or other block explorer does.
I was able to verify for ...
2
votes
0
answers
488
views
Retrieving contracts metadata given swarm hash file
How can I retrieve the contract's metadata referred by Swarm Source at Etherscan page for this contract? https://etherscan.io/address/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984#code
It says the bzzr://...
1
vote
0
answers
416
views
IPFS hash link keep loading without not responding
I'm trying to add many JSON files in IPFS using the following API from this liberary py-ipfs-http-client, after running locally ipfs daemon:
client.add('item.json')
And here is the output of the item....
0
votes
1
answer
171
views
Generate directory hash without upload using Swarm API
I am using the Swarm API (github.com/ethersphere/swarm/) with go to upload a directory on a private network. The client API(/api/client) provides a UploadDirectory function which returns a manifest ...
5
votes
1
answer
1k
views
How do I redirect my .eth domain with eth.link?
Let's say I want to redirect somewebsite.eth.link to www.otherdomainiown.com. http://spacex.eth.link/ does this and the redirect works on chrome. However, I don't see an A record and I do see IPFS ...
0
votes
1
answer
80
views
dApp design and security question
I'm designing a dApp where users can submit work they've done (files) to ipfs/swarm. To get credit for the work they then reference the hash of the files when calling a smart contract. What are some ...
2
votes
1
answer
148
views
Is the contract metadata automatically deployed on Swarm?
From the solidity docs on contract metadata:
You have to publish the metadata file to Swarm (or another service) so that others can access it. You create the file by using the solc --metadata ...
2
votes
1
answer
1k
views
Replication of Files across a Private IPFS Network
I want to create a private IPFS Network in which nodes should be able to add data and share the Hash with other nodes in the network so that they will be able to access the files and make them ...
2
votes
0
answers
57
views
Is it possible to revoke file access with Swarm?
A file must be uploaded to a decentralized storage network since it is too big for the blockchain.
Only selected entities must be able to access it. Looking at the Swarm documentation, it says that ...
2
votes
2
answers
539
views
What is the current state of Swarm and Whisper?
What is the current state of Swarm ? Are they decentralized as they claim they are or they are still in development ?
I am asking this because I've seen that there is no incentive for the nodes to ...
1
vote
1
answer
207
views
how to securely share digital asset in a fully decentralized DApp
I want to design a proof of concept of a fully decentralized secure asset sharing DApp. Seller uploads the asset they want to share with a price and buyer pays it with ether or a token. Frontend and ...
1
vote
2
answers
71
views
Fail in doing swarm db migration
I had updated swarm v0.3 to v0.4.
Now I'm trying to do DB migration.
I did this command:
$ swarm --verbosity 5 db export .ethereum/swarm/bzz-a8a75fcfa45273cdfe27c24d87ab9c41b199d9b7/chunks djstorage/...
1
vote
0
answers
178
views
Geth SWARM no peers found!
Synced via Geth lightnode to latest block --cache=2048. (7200RPM HDD with 8GB RAM)
Then created new geth account and did swarm --bzzaccount $BZZ
I'm am able to only browse localhost, upload to local ...
1
vote
1
answer
37
views
Create PSS clients connection for each user?
Good morning! I am looking at the PSS API checking the erebos/pss.js example. I am slightly confused with the follow:
const alice = new PssAPI(createRPC('ws://127.0.0.1:8501'))
const bob = new PssAPI(...
0
votes
1
answer
28
views
Updating a feed fails: Signer address does not match the update request
This is what I run (0x65686c6c0a is "hello" in hex)
swarm --verbosity 2 --bzzaccount `cat Alice` --passsword Pass &
swarm --bzzaccount `<Alice` --password Pass feed create --name neverchanges &...
1
vote
1
answer
190
views
Importing a contract from swarm
I am trying to import this contract from the swarm node and need to use the functions in this contract but I could'nt import it from swarm using this code
pragma solidity ^0.4.8;
import {...
6
votes
0
answers
286
views
What is the position of Whisper and Swarm in the Ethereum 2.0 Roadmap
Back in 2015, Ethereum vision was to be a "World Computer" relying on three main complementary technologies:
Ethereum for decentralized Logic
Swarm for decentralized Storage
Whisper for decentralized ...
0
votes
1
answer
412
views
How do we extract the content of a hash manifest generated by swarm after a download?
As far I know, whenever we upload a file or a directory using:
swarm up File
we get back a hash that is the manifest containing the uploaded file.
However, I am not sure I do understand how to ...
1
vote
0
answers
132
views
Why Swarm so slow? No peers found?
I made
# swarm up 1.mp4
58740257f3519e1e20a85994eefc3a4d8d40ac5f8649d5acf93d174676279ad5
and push 497Mb video to swarm. Swarm works and connected to my account.
When I try in Chrome
localhost:...
1
vote
1
answer
6k
views
How to fix "unexpected directory layout" error when Installing go-ethereum?
All, I hope this question belongs here.
I am following a Blockgeeks tutorial, trying to set up my environment for Ethereum blockchain development. I have basically gotten to the final step, ...
1
vote
1
answer
157
views
What does it mean Ethereum Swarm account?
ETH wallet is something like
0xd0a6e6c54dbc68db5db3a091b171a77407ff7ccf
I read Swarm docs and see
in our example swarm --bzzaccount 2f1cd699b0bf461dcfbf0098ad8f5587b038f0f1
(You should replace
...
0
votes
1
answer
119
views
How can I start swarm such that the api's are available from other machines?
I'm running this:
swarm \
--bzzaccount $ACCOUNT \
--password .ethereum/.password \
--bzzapi "http://0.0.0.0:8500" \
--lightnode
And when I curl from localhost I get a response:
$ curl http:/...
2
votes
1
answer
632
views
What is bzz protocol?
While studying about swarm, I came to know that every Swarm node exposes a local HTTP proxy that implements the BZZ URL schemes. What is BZZ protocol here?
2
votes
1
answer
94
views
about ethereum swarm download speed
Torrents also increase in speed as the number of peers increases. swarm Is the same? This is because dividing the data into chunks is the same.
3
votes
0
answers
110
views
How the Ethereum Swarm connects nodes and several related questions
Read everything after https://swarm-guide.readthedocs.io/en/latest/usage.html and leave an article.
Some questions about etherium swarm
Where is the uploaded data stored? And how do you find it? I ...
1
vote
0
answers
126
views
Can't access swarm : bzz://theswarm.eth/ from mist browser
When accessing the URL in Mist, and after connecting my account, I get an empty white screen.
Running on OS X with the version 0.11.1 of Mist.
Any idea where it could come from ?
Thanks.
1
vote
1
answer
210
views
Some questions about ethereum swarm
I have read https://swarm-guide.readthedocs.io/en/latest/up-and-download.html.
But it does not make sense. So I want to ask a few questions.
After syncing geth and swarm, I uploaded the data to swarm....
1
vote
0
answers
56
views
IPFS Protocol upgrade or migrations
How would I migrate from IPFS, let says that I got 10M files linked by IPFS, and I want to migrate all of them to Swarm, how would I do that?
The question in a different way:
I want to use a new ...
2
votes
0
answers
76
views
Why download from Ethereum Swarm too low?
I have two 100mbps servers.
On server #1 I execute: swarm up 50mb.testfile
On server #2 I execute: wget -O 50mb.testfile http://localhost:8500/bzz:/.../
I see download speed 70KB/s
In swarm log I ...
2
votes
0
answers
115
views
Can we use Ethereum Swarm to store normal data other than blockchain or dapp data.
I want some basic data to be stored like name and city phone no etc.So just want to ask can I use ethereum swarm just to store file and make several node to create decentralized storage.
0
votes
1
answer
357
views
How to upload file to public swarm?
I have ubuntu server. I tried to make
root@vid:~# swarm up 1.txt
65b03c05950213ae7d3d55659aabe1828c07ea79c30a4e61e44342a8b5d41653
root@vid:~#
How can I see this file from my local Mist browser?
...
1
vote
1
answer
315
views
Does Ethereum Swarm work?
I need to upload 8Tb data to Swarm. I read docs but I can't understand: does public swarm work?
1
vote
1
answer
349
views
How can we calculate swarm storage cost?
I am trying to integrate ethereum to another fin-tech app, the basic idea is to store the transaction details on swarm and then pass the hash on ethereum network. I haven't used swarm earlier and I am ...
0
votes
3
answers
4k
views
How do I install an OLD version of Geth and Swarm?
I need to install an old version of Swarm : version 1.7.3-stable , but I can't figure out how to install it from the command line.
I'm on Mac OSX.
I've found these old downloads: https://geth....
3
votes
1
answer
155
views
Running Swarm on AWS
After succesfully setting up a POA network on azure (hurray for 1 click deployment), i wanted to set up a private Swarm cluster (well , 1 node will do for testing).
I took an AWS EC2 instance to save ...
0
votes
1
answer
194
views
Problem installing Swarm
I have a problem installing Swarm. when i enter
sudo apt-get install ethereum-swarm i get a problem saying :
dpkg: error processing archive /var/cache/apt/archives/ethereum-swarm_0.3.1+build14601+...
0
votes
1
answer
658
views
Swarm in a Private Network
I have just finished installing Swarm and I managed to follow the documentation. I created a new account using
geth account new
and I connected using said account using the below line
swarm -...
1
vote
0
answers
33
views
Quorum Swarm: Can't find swarm account: no key for given address or file [duplicate]
While using Swarm in Quorum, I am getting the following error: Can't find swarm account: no key for given address or file
Any similar encounters?
3
votes
1
answer
2k
views
How long do my files stay on IPFS when I upload it?
I'm trying to grasp the concept of how IPFS works. Say if I upload 1GB of data to IPFS. How long does it stay there? Or do I have to leave my computer on at all times for the file to be live on the ...
0
votes
2
answers
352
views
In Ethereum and Swarm, Difference between Sharding and Chunking
Understand that in Ethereum further releases sharding will be included for scalability purposes. In swarm, "Chunks are pieces of data of limited size (max 4K), the basic unit of storage and retrieval ...
4
votes
2
answers
893
views
MongoDB vs Ethereum Swarm
I am designing a DAPP. I have two options available for storage MongoDB OR Ethereum swarm(OR IPFS). As MongoDB also replicates data to multiple shards fault tolerance is available in MongoDB.
What ...
1
vote
1
answer
257
views
Does Swarm caches blocks like IPFS do?
When we retrieve a file through IPFS, it caches the file in IPFS' repository. Later when we want to fetch the same file or its updated version, only block that contains the changed character will be ...
1
vote
0
answers
81
views
Swarm node crashes when uploading big files
I noticed that when I try to upload files which size are around 100KB or higher to swarm, my node crashes with the following message:
panic: runtime error: slice bounds out of range
goroutine 27181 [...
3
votes
1
answer
506
views
How do the ethereum components work together
hy
i have been reading about the ethereum project and its components, i understand that there are 3 major components (EVM, swarm, whisper)
Swarm is a peer to peer data sharing network in which files ...
2
votes
1
answer
574
views
When should I use Whisper or PSS over Traditional Message Channel like AWS SQS?
What are the benefits using Whisper or swarm/PSS over using a centralized service like Amazon SQS?
My use-case is: deliver information (to say to another party that they should do an action in a ...
0
votes
1
answer
235
views
Connecting 2 ethereum swarm nodes
I have two geth nodes and I want to run 1 swarm node on each node.
I made a boot node for the two swarm nodes to communicate with each other.
I run the first swarm node with the following command ...
0
votes
1
answer
395
views
How to import data from MySQL database to swarm
In an application which is all ready developed and deployed data is stored in MySQL database. I want to import that data into swarm.
Reasons to import data in swarm -
1) All the data shall not be ...