weez17 has quit [Remote host closed the connection]
kanzure has joined #ipfs
weez17 has joined #ipfs
<Icefoz>
Alberto_: I don't know the answer, sorry. :-(
<Alberto_>
ok, but if I run the ipfs without the '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star' it doesn't work
<Alberto_>
is that a default or should I have like a node server running my private thing for my app to connect?
MDude has quit [Quit: Going offline, see ya! (www.adiirc.com)]
MDude has joined #ipfs
clemo has quit [Ping timeout: 240 seconds]
infinity0 has quit [Ping timeout: 256 seconds]
colatkinson has quit [Ping timeout: 240 seconds]
george[m] has joined #ipfs
infinity0 has joined #ipfs
george[m] has left #ipfs [#ipfs]
floog has left #ipfs [#ipfs]
floog has joined #ipfs
ericxtang has quit [Remote host closed the connection]
}ls{ has quit [Ping timeout: 260 seconds]
<omp__>
Hi all, I'm trying to build go-ipfs on Windows, but I'm getting an error during the "gx --verbose install --global" step. It works fine until it fetches go-multihash and I get a 'symlink ... A required privilege is not held by the client." I'd rather not give admin privileges if I can avoid it...
rngkll has quit [Ping timeout: 255 seconds]
}ls{ has joined #ipfs
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
rngkll has joined #ipfs
trqx has quit [Remote host closed the connection]
trqx has joined #ipfs
pcardune has joined #ipfs
jkrone has quit [Ping timeout: 248 seconds]
benjamingr_ has quit [Quit: Connection closed for inactivity]
lnostdal has quit [Ping timeout: 240 seconds]
lnostdal has joined #ipfs
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
colatkinson has joined #ipfs
lnostdal has quit [Max SendQ exceeded]
lnostdal has joined #ipfs
nonpriestly has joined #ipfs
bjp has quit [Ping timeout: 240 seconds]
ericxtang has joined #ipfs
colatkinson has quit [Quit: colatkinson]
movedx has joined #ipfs
ericxtang has quit [Ping timeout: 256 seconds]
<movedx>
I'm really keen to produce content for the IPFS "Internet". Has the concept of traditional DNS been implemented? I'm still working my way through the very basics.
<movedx>
Ah IPNS. Very cool.
<movedx>
I think if IPFS is to stand a chance, it needs content, and a lot of it.
rngkll has quit []
<whyrusleeping>
movedx: theres a large amount of content in ipfs right now, the hard part i'm seeing is discoverability
daMaestro has joined #ipfs
<movedx>
I agree. Just playing around now and it's slow and undiscoverable.
rngkll has joined #ipfs
<whyrusleeping>
yeah, you often find content thats on peoples machines who have bad internet connections
Alberto_ has quit [Ping timeout: 260 seconds]
<movedx>
I thought the idea was for the data to be distributed across the network? Why rely on a single computer for the data?
shizy has joined #ipfs
lnostdal has quit [Ping timeout: 248 seconds]
lnostdal has joined #ipfs
byt has joined #ipfs
pvh has quit [Quit: Connection closed for inactivity]
johnytiago has joined #ipfs
bjp has joined #ipfs
johnytiago has quit [Ping timeout: 256 seconds]
Neomex has joined #ipfs
<runningdroid[m]>
movedx: IPFS doesn't have a mechanism for ensuring a file is on multiple computers yet, iirc filecoin solves that.
ericxtang has joined #ipfs
user_51 has joined #ipfs
user51 has quit [Ping timeout: 248 seconds]
<whyrusleeping>
movedx: think about ipfs like torrents in that aspect
<whyrusleeping>
only people interested in certain data will have it
pmthomps has quit [Quit: Connection closed for inactivity]
anewuser has joined #ipfs
rodolf0 has joined #ipfs
Alberto_ has joined #ipfs
hdu_rtt has joined #ipfs
hdu_rtt has quit [Remote host closed the connection]
pmthomps has joined #ipfs
guideline has quit [Ping timeout: 256 seconds]
colatkinson has joined #ipfs
guideline has joined #ipfs
}ls{ has quit [Ping timeout: 260 seconds]
walkbird has joined #ipfs
tpircs has joined #ipfs
<movedx>
whyrusleeping: So essentially the moment I access the data, it becomes more distributed?
vivus has quit [Quit: Leaving]
rodolf0 has quit [Ping timeout: 276 seconds]
}ls{ has joined #ipfs
<whyrusleeping>
movedx: exactly
<movedx>
OK and we need human readable, traditional DNS names for IPFS addresses
<movedx>
I can find a search engine or anything.
<movedx>
can't*
<whyrusleeping>
yeah, we have that
<whyrusleeping>
the ipfs.io website is served over ipfs
<whyrusleeping>
we could add support for ENS, but that requires either a fully synced ethereum node locally, or a trusted service
<whyrusleeping>
you can use a keypair with ipns, but you don't get a nice name
<whyrusleeping>
dns, for all its faults, is a pretty resilient distributed system
<whyrusleeping>
each tld is controlled by some group, but you can start up your own tld. which requires participating in an open auction
<whyrusleeping>
you can use whatever dns resolver you like, trust someone, or run your own
Alberto_ has quit [Quit: Page closed]
colatkinson has quit [Quit: colatkinson]
<movedx>
Too be fair, you're not wrong. It is a good system, and with DNSSEC it's getting better.
<movedx>
whyrusleeping: So I apply a TXT record with the value you stated, then what? Does the ipfs.io/ system then resolve the DNS, grab that record, and redirect people to my IPFS node?
anewuser has quit [Quit: anewuser]
<whyrusleeping>
it redirects people to the hash that you put in your record
<movedx>
I figured it would yeah. Thanks.
<whyrusleeping>
so if you look at the TXT record of ipfs.io (or _dnslink.ipfs.io) you get a hash that is the hash we get when ipfs adding the website
johnytiago has joined #ipfs
johnytiago has quit [Ping timeout: 248 seconds]
<JohnyTheSmith>
runningdroid[m] will filecoin be a thing? Its rather quiet about it and at most they let you sign up for an early miner program at the moment
<runningdroid[m]>
JohnyTheSmith: I honestly don't know, I only know about it because I've heard it will solve the "files become inaccessible over IPFS because someone shutdown their computer" problem.
<JohnyTheSmith>
i mean, it would be a system for renting server space, the advantage is mainly the promised ease of setting it up and sharing your space... which is nice, absolutly, i just have my own ipfs server running on my raspberry pi so i dont have that problem
<JohnyTheSmith>
though i would definatly rent out ~ 1TB of space
ericxtang has quit [Remote host closed the connection]
jamiew has quit [Ping timeout: 256 seconds]
jamiew has joined #ipfs
border0464 has quit [Ping timeout: 240 seconds]
ericxtang has joined #ipfs
ericxtang has quit [Ping timeout: 256 seconds]
ashark has joined #ipfs
nonpriestly has quit [Read error: Connection reset by peer]
ashark has quit [Ping timeout: 264 seconds]
<movedx>
So I'll try and get my written work auto-publishing to IPFS/IPNS once my DNS is in place.
Oatmeal has quit [Ping timeout: 248 seconds]
<movedx>
So if my understanding is correct, we ideally want things like Wikipedia on IPFS to eliminate censorship? Also, if I put something up and enough people view it, could I (technically) pull my node form the swarm and it'll live on?
ulrichard has joined #ipfs
<movedx>
Just like BT?
grvhi has quit [Remote host closed the connection]
grvhi has joined #ipfs
grvhi has quit [Ping timeout: 246 seconds]
johnytiago has joined #ipfs
johnytiago has quit [Ping timeout: 260 seconds]
ashark has joined #ipfs
leeola has quit [Quit: Connection closed for inactivity]
ashark has quit [Ping timeout: 256 seconds]
trqx has quit [*.net *.split]
tombusby has quit [*.net *.split]
joocain2 has quit [*.net *.split]
wowaname has quit [Ping timeout: 240 seconds]
joocain2 has joined #ipfs
tombusby has joined #ipfs
trqx has joined #ipfs
mithun has joined #ipfs
<mithun>
Is it possible to do video live streaming using IPFS?
grvhi has joined #ipfs
ansuz has left #ipfs [#ipfs]
grvhi_ has joined #ipfs
grvhi has quit [Ping timeout: 256 seconds]
ashark has joined #ipfs
jkrone has quit [Ping timeout: 260 seconds]
geoah has joined #ipfs
ashark has quit [Ping timeout: 256 seconds]
<movedx>
Good question. I know static, pre-recorded video is possible (obviously -- it's just a file).
<movedx>
Streaming, I guess, could be done if the video stream was put to disk, added to the a node, and made available ahead of time? That's probably how streaming works now? The video data chunks are just computed and sent down the pipe in batches?
geoah has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Kythyria[m]>
"Streaming" for pre-recorded content, yeah. It's live content that's hard.
<Kythyria[m]>
You could get the latency low-ish by announcing the next chunk over pubsub, I guess.
DJ-AN0N has quit [Quit: DJ-AN0N]
<Kythyria[m]>
(and even things like youtube and netflix chunk the video, but the chunking is based on time rather than byte count)
<movedx>
If you're streaming live, but leaving a 10-15 minute delay, that gives you 10-15 minutes to have the video encoded and put onto the network for consumption. Wouldn't there just need to be a means of saying "$thisHash is the next X minutes/bytes of the video you're watching?"
byt has quit [Quit: Leaving]
<Kythyria[m]>
Yeah
<Kythyria[m]>
Like I said, announce over pubsub
<Kythyria[m]>
You could probably get it smaller than 15 minutes; there are encoders with a latency of a few seconds, after all.
<Kythyria[m]>
At the same time you'd probably want to update an index, for seeking.
<movedx>
Interesting problem.
<movedx>
For now I'll roll back to simply understanding the basics so I can get a website on the network :)
<Kythyria[m]>
I don't know if there's a better way than building a B+ tree a particular way to store a seekable buffer that's only appended to (logfiles, streams, etc)
<Kythyria[m]>
(ie, build it so all the unfilled index chunks are at the end that's getting appended to, or ancestor of the chunk that's at the end)
<mithun>
@movedx @kythyria I was able to do the static video thing, but i was interested with the live one.
<Kythyria[m]>
I suspect you'd want a system that's aware of the fact that it's streaming video.
<movedx>
So I'm just trying to get my head around gateways and nodes. If I want my domain, movedx.rocks, at the top level to be delivered over IPFS, do I simply have an IPFS Gateway running on 443 which will then use IPFS/IPNS to resolve the 'Host' header to /ipfs/whatever and serve it up (because it's a gateway)?
Nukien has quit [Ping timeout: 260 seconds]
<Kythyria[m]>
For instance, just a generic "build a growing buffer" sender wouldn't know to cooperate with the video codec to make it so that one layer of the tree can be interpreted as a set of chunks valid for something like DASH.
fredthomsen has quit [Ping timeout: 260 seconds]
<Kythyria[m]>
DASH requires you be able to supply URLs that jump into the stream at a particular timestamp and get something you don't have to seek to start playing.
<Kythyria[m]>
I've sometimes thought that if you didn't mind the increased number of IPFS chunks you have to get, it'd be neat to chunk using a peelable codec, so that anyone pinning the high-res version inherently pins a low-res version too.
Nukien has joined #ipfs
ashark has joined #ipfs
ylp has joined #ipfs
vd[m] has left #ipfs ["User left"]
fazo96 has joined #ipfs
fazo96_ has joined #ipfs
ashark has quit [Ping timeout: 264 seconds]
fazo96 has quit [Ping timeout: 264 seconds]
dvim has joined #ipfs
Neomex has quit [Read error: Connection reset by peer]
xzha has joined #ipfs
rendar has joined #ipfs
geoah has joined #ipfs
fredthomsen has joined #ipfs
clemo has joined #ipfs
ashark has joined #ipfs
dimitarvp has joined #ipfs
<vertis[m]>
Does anyone know if ipfs behaves okay when ingesting large datasets now?
}ls{ has quit [Ping timeout: 255 seconds]
ashark has quit [Ping timeout: 256 seconds]
<whyrusleeping>
vertis[m]: yes, as of 0.4.14 all known issues have been fixed
<whyrusleeping>
there was an ugly memory leak that manifested on very large directory structures that we fixed
ylp has quit [Ping timeout: 245 seconds]
<vertis[m]>
Sweet I will give it another go over the next few days
rendar has quit [Ping timeout: 268 seconds]
johnytiago has joined #ipfs
ylp has joined #ipfs
systemadmin123[m has joined #ipfs
rendar has joined #ipfs
rendar has quit [Changing host]
rendar has joined #ipfs
<systemadmin123[m>
Hey new to ipfs can someone walk me thru how to use it
<geoah>
systemadmin123[m hey there, I suggest checking out the getting started guide, it's pretty nice and should get you moving fairly quickly https://ipfs.io/docs/getting-started
<systemadmin123[m>
Thanks
ygrek has joined #ipfs
wowaname has joined #ipfs
Roderick has joined #ipfs
pmthomps has quit [Quit: Connection closed for inactivity]
ashark has joined #ipfs
ashark has quit [Ping timeout: 256 seconds]
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
johnytiago has quit []
bomb-on has quit [Quit: SO LONG, SUCKERS!]
vmx has joined #ipfs
moet has joined #ipfs
moet has quit [Ping timeout: 260 seconds]
dukaanbabu has joined #ipfs
<dukaanbabu>
Hi Guys
anewuser has joined #ipfs
<dukaanbabu>
I am building ipfs based chrome extension
<dukaanbabu>
but they are unable to create a swarm
piti has quit [Ping timeout: 248 seconds]
<dukaanbabu>
because of websocket config which needs http handshake
piti has joined #ipfs
ashark has joined #ipfs
ashark has quit [Ping timeout: 240 seconds]
bomb-on has joined #ipfs
<lidel>
dukaanbabu, how so? are you using embedded js-ipfs in webextension's background page?
ulrichard has quit [Remote host closed the connection]
grvhi has quit [Read error: Connection reset by peer]
pecastro has joined #ipfs
grvhi has joined #ipfs
grvhi has quit [Read error: Connection reset by peer]
grvhi has joined #ipfs
pawalls has joined #ipfs
ylp has left #ipfs [#ipfs]
grvhi has quit [Ping timeout: 256 seconds]
tperson has joined #ipfs
grvhi has joined #ipfs
koshii has joined #ipfs
ONI_Ghost has joined #ipfs
ONI_Ghost has joined #ipfs
ONI_Ghost has quit [Changing host]
<victorbjelkholm>
retrojeff: no, it's probably just can't find the blocks currently, might be able to find it once you are connected to more peers, or maybe no one has to blocks anymore
grvhi_ has joined #ipfs
MrSparkle has quit [Ping timeout: 260 seconds]
grvhi has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 268 seconds]
MrSparkle has joined #ipfs
ericxtan_ has joined #ipfs
ericxtang has quit [Read error: Connection reset by peer]
ericxtan_ has quit [Read error: Connection reset by peer]
ericxtang has joined #ipfs
Caterpillar has joined #ipfs
xzha has quit [Ping timeout: 264 seconds]
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
mtodor has quit [Remote host closed the connection]
raynold has joined #ipfs
mtodor has joined #ipfs
thefinn93 has quit [Remote host closed the connection]
thefinn93 has joined #ipfs
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
geoah has quit [Ping timeout: 240 seconds]
mtodor has quit [Ping timeout: 240 seconds]
ben__ has joined #ipfs
grvhi has joined #ipfs
grvhi has quit [Read error: Connection reset by peer]
lnostdal has quit [Ping timeout: 260 seconds]
grvhi has joined #ipfs
lnostdal has joined #ipfs
grvhi_ has quit [Ping timeout: 248 seconds]
ericxtang has quit [Remote host closed the connection]
ericxtan_ has joined #ipfs
ONI_Ghost has quit [Ping timeout: 240 seconds]
ONI_Ghost has joined #ipfs
ONI_Ghost has joined #ipfs
ONI_Ghost has quit [Changing host]
fazo96 has quit [Quit: Konversation terminated!]
risciii has joined #ipfs
nicu has joined #ipfs
fazo96 has joined #ipfs
Oatmeal has quit [Quit: Suzie says, "TTFNs!"]
nicu has quit [Quit: nicu]
nicu has joined #ipfs
risciii has quit [Read error: Connection reset by peer]
risciii has joined #ipfs
grvhi has quit [Read error: Connection reset by peer]
grvhi has joined #ipfs
newhouse has joined #ipfs
kivutar has quit [Ping timeout: 256 seconds]
vyzo has quit [Ping timeout: 240 seconds]
spossiba has quit [Ping timeout: 256 seconds]
grvhi has quit [Read error: Connection reset by peer]
kivutar has joined #ipfs
grvhi has joined #ipfs
vyzo has joined #ipfs
spossiba has joined #ipfs
piti has quit [Read error: Connection reset by peer]
piti has joined #ipfs
grvhi has quit [Remote host closed the connection]
upperdeck has quit [Ping timeout: 248 seconds]
upperdeck has joined #ipfs
ashark_ has quit [Ping timeout: 260 seconds]
<victorbjelkholm>
Short announcement: created #ipfs-testing for all testing-specific conversations (here on Freenode as well)
Guest24329 has quit [Ping timeout: 248 seconds]
upperdeck has quit [Ping timeout: 276 seconds]
upperdeck has joined #ipfs
special has joined #ipfs
special is now known as Guest19277
b5 has quit [Ping timeout: 260 seconds]
Oatmeal has joined #ipfs
shoogz has joined #ipfs
homulilly[m] has joined #ipfs
ashark has joined #ipfs
grvhi has joined #ipfs
grvhi has quit [Read error: Connection reset by peer]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
Encrypt has joined #ipfs
grvhi has joined #ipfs
grvhi has quit [Client Quit]
risciii has quit [Read error: No route to host]
shoogz has quit [Remote host closed the connection]
shoogz has joined #ipfs
ben__ has quit [Ping timeout: 260 seconds]
risciii has joined #ipfs
espadrine has joined #ipfs
lnostdal_ has joined #ipfs
lnostdal has quit [Ping timeout: 276 seconds]
lnostdal_ is now known as lnostdal
tpircs has quit [Remote host closed the connection]
Guest19277 has quit [Ping timeout: 260 seconds]
ONI_Ghost has quit [Ping timeout: 268 seconds]
djdv has joined #ipfs
yhwh has quit [Remote host closed the connection]
yhwh has joined #ipfs
selena-lowell[m] has joined #ipfs
archagon has joined #ipfs
ashark_ has joined #ipfs
ashark has quit [Ping timeout: 240 seconds]
archagon has quit [Ping timeout: 260 seconds]
border0464 has quit [Ping timeout: 240 seconds]
special has joined #ipfs
special is now known as Guest56577
fazo96 has quit [Quit: Konversation terminated!]
lassulus_ has joined #ipfs
sirn_ has joined #ipfs
espadrine_ has joined #ipfs
Forkk_ has joined #ipfs
lupine_ has joined #ipfs
bjarki has joined #ipfs
yangwao_ has joined #ipfs
pcardune has quit [Remote host closed the connection]
seaking1 has joined #ipfs
JohnX has joined #ipfs
TheLugal__ has joined #ipfs
flyingkiwi_ has joined #ipfs
espadrine has quit [*.net *.split]
Forkk has quit [*.net *.split]
JohnX- has quit [*.net *.split]
bomb-on has quit [*.net *.split]
dilgreen[m] has quit [*.net *.split]
drrty2 has quit [*.net *.split]
lassulus has quit [*.net *.split]
lupine has quit [*.net *.split]
shakalaka has quit [*.net *.split]
textile[m] has quit [*.net *.split]
LcSmith[m] has quit [*.net *.split]
chgnb[m] has quit [*.net *.split]
M-ewildgoose has quit [*.net *.split]
jonnyandrew[m] has quit [*.net *.split]
h[m]1 has quit [*.net *.split]
openkerley[m] has quit [*.net *.split]
MrShepard[m] has quit [*.net *.split]
Zedwick[m] has quit [*.net *.split]
riussi[m] has quit [*.net *.split]
grugnug[m] has quit [*.net *.split]
ubduedoo9[m] has quit [*.net *.split]
frabcus[m] has quit [*.net *.split]
Jacob[m]2 has quit [*.net *.split]
licht[m] has quit [*.net *.split]
steven[m] has quit [*.net *.split]
LifeNT[m] has quit [*.net *.split]
runningdroid[m] has quit [*.net *.split]
M568656s[m] has quit [*.net *.split]
Nekit[m] has quit [*.net *.split]
miflow[m] has quit [*.net *.split]
rgiessmann[m] has quit [*.net *.split]
riot65535[m] has quit [*.net *.split]
bobquest33[m] has quit [*.net *.split]
phantomk[m] has quit [*.net *.split]
RomainLeCarrer[m has quit [*.net *.split]
dethoter[m] has quit [*.net *.split]
Andrew[m]1 has quit [*.net *.split]
rovdyl[m] has quit [*.net *.split]
exyi[m] has quit [*.net *.split]
fridi[m] has quit [*.net *.split]
adamadamsky[m] has quit [*.net *.split]
marting[m] has quit [*.net *.split]
msmart[m] has quit [*.net *.split]
mayel[m]1 has quit [*.net *.split]
netquin[m] has quit [*.net *.split]
ErnestKissiedu[m has quit [*.net *.split]
network[m] has quit [*.net *.split]
janosberghorn[m] has quit [*.net *.split]
Henark[m] has quit [*.net *.split]
danielcook[m] has quit [*.net *.split]
f4bio[m] has quit [*.net *.split]
charlienyc[m] has quit [*.net *.split]
mkb01[m] has quit [*.net *.split]
coldsauce[m] has quit [*.net *.split]
thijsray[m] has quit [*.net *.split]
avatias0[m] has quit [*.net *.split]
jbb[m] has quit [*.net *.split]
floppypocket[m] has quit [*.net *.split]
marius_k[m] has quit [*.net *.split]
MaxSan[m] has quit [*.net *.split]
al1p[m] has quit [*.net *.split]
Amoghavarsha101[ has quit [*.net *.split]
bottom-up-hierar has quit [*.net *.split]
Tantin[m] has quit [*.net *.split]
a_o[m] has quit [*.net *.split]
chatnowvvv[m] has quit [*.net *.split]
luav[m] has quit [*.net *.split]
epeter[m] has quit [*.net *.split]
lanlink[m] has quit [*.net *.split]
edrex has quit [*.net *.split]
sohalt[m] has quit [*.net *.split]
sickill[m] has quit [*.net *.split]
mantycore[m] has quit [*.net *.split]
imbigbrother[m] has quit [*.net *.split]
Dako300[m] has quit [*.net *.split]
Kythyria[m] has quit [*.net *.split]
eluc[m] has quit [*.net *.split]
erikj` has quit [*.net *.split]
itorres has quit [*.net *.split]
SerkanDevel[m] has quit [*.net *.split]
wizek[m] has quit [*.net *.split]
indefini has quit [*.net *.split]
master has quit [*.net *.split]
doronbehar[m] has quit [*.net *.split]
chrono[m] has quit [*.net *.split]
maigel[m] has quit [*.net *.split]
torarne has quit [*.net *.split]
Bloo[m] has quit [*.net *.split]
heyarne[m] has quit [*.net *.split]
SuprDewd has quit [*.net *.split]
sirn has quit [*.net *.split]
AgenttiX has quit [*.net *.split]
seaking1_ has quit [*.net *.split]
yangwao has quit [*.net *.split]
TheLugal has quit [*.net *.split]
flyingkiwi has quit [*.net *.split]
sirn_ is now known as sirn
shakalaka has joined #ipfs
Trieste has quit [Ping timeout: 260 seconds]
eater has quit [Ping timeout: 260 seconds]
spread has joined #ipfs
eater has joined #ipfs
rendar has quit []
Trieste has joined #ipfs
ubduedoo9[m] has joined #ipfs
Jacob[m]2 has joined #ipfs
rgiessmann[m] has joined #ipfs
licht[m] has joined #ipfs
thijsray[m] has joined #ipfs
MaxSan[m] has joined #ipfs
drrty2 has joined #ipfs
fridi[m] has joined #ipfs
Kythyria[m] has joined #ipfs
luav[m] has joined #ipfs
jesse22 has joined #ipfs
Bloo[m] has joined #ipfs
chatnowvvv[m] has joined #ipfs
coldsauce[m] has joined #ipfs
erikj` has joined #ipfs
msmart[m] has joined #ipfs
openkerley[m] has joined #ipfs
jonnyandrew[m] has joined #ipfs
M-ewildgoose has joined #ipfs
AgenttiX has joined #ipfs
itorres has joined #ipfs
avatias0[m] has joined #ipfs
indefini has joined #ipfs
RomainLeCarrer[m has joined #ipfs
rovdyl[m] has joined #ipfs
janosberghorn[m] has joined #ipfs
exyi[m] has joined #ipfs
netquin[m] has joined #ipfs
riussi[m] has joined #ipfs
imbigbrother[m] has joined #ipfs
marting[m] has joined #ipfs
steven[m] has joined #ipfs
frabcus[m] has joined #ipfs
LifeNT[m] has joined #ipfs
chgnb[m] has joined #ipfs
M568656s[m] has joined #ipfs
ErnestKissiedu[m has joined #ipfs
al1p[m] has joined #ipfs
Nekit[m] has joined #ipfs
miflow[m] has joined #ipfs
marius_k[m] has joined #ipfs
dethoter[m] has joined #ipfs
mkb01[m] has joined #ipfs
bobquest33[m] has joined #ipfs
h[m]1 has joined #ipfs
dilgreen[m] has joined #ipfs
phantomk[m] has joined #ipfs
grugnug[m] has joined #ipfs
network[m] has joined #ipfs
mantycore[m] has joined #ipfs
danielcook[m] has joined #ipfs
Tantin[m] has joined #ipfs
textile[m] has joined #ipfs
Zedwick[m] has joined #ipfs
runningdroid[m] has joined #ipfs
Amoghavarsha101[ has joined #ipfs
sohalt[m] has joined #ipfs
Dako300[m] has joined #ipfs
sickill[m] has joined #ipfs
LcSmith[m] has joined #ipfs
torarne has joined #ipfs
epeter[m] has joined #ipfs
eluc[m] has joined #ipfs
bottom-up-hierar has joined #ipfs
riot65535[m] has joined #ipfs
adamadamsky[m] has joined #ipfs
Andrew[m]1 has joined #ipfs
chrono[m] has joined #ipfs
charlienyc[m] has joined #ipfs
doronbehar[m] has joined #ipfs
heyarne[m] has joined #ipfs
maigel[m] has joined #ipfs
Henark[m] has joined #ipfs
jbb[m] has joined #ipfs
wizek[m] has joined #ipfs
lanlink[m] has joined #ipfs
floppypocket[m] has joined #ipfs
master has joined #ipfs
MrShepard[m] has joined #ipfs
f4bio[m] has joined #ipfs
edrex has joined #ipfs
a_o[m] has joined #ipfs
SerkanDevel[m] has joined #ipfs
mildred has quit [Ping timeout: 256 seconds]
mayel[m]1 has joined #ipfs
clemo has joined #ipfs
archagon has joined #ipfs
jesse22_ has joined #ipfs
jesse22 has quit [Ping timeout: 260 seconds]
aapjeisbaas has quit [Quit: Connection closed for inactivity]
ygrek has joined #ipfs
b5 has joined #ipfs
<Icefoz>
Hmmm, this public-keys-on-IPFS thing actually seems to work. Madness.
<Icefoz>
The question is, how does one revoke keys sanely?
<Icefoz>
Or at least notify of revoked keys, or something...
smuten has joined #ipfs
lldd_ has joined #ipfs
b5 has quit [Quit: Page closed]
ZaZ has quit [Read error: Connection reset by peer]
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
}ls{ has quit [Ping timeout: 248 seconds]
lassulus_ is now known as lassulus
smuten has quit [Ping timeout: 256 seconds]
patmaddox has joined #ipfs
Ecran has joined #ipfs
chowie has joined #ipfs
<patmaddox>
I've got a CID that I want to pass to a solidity contract, and the contract accepts a bytes32 argument. I'm told I need to use a keccak-256 content hash, and I'm not sure how to do that. How do I convert "zdpuAyKusAHvNLAH1LS4vsTinUT5Lqq7xbJ6utEH2dHfjL6R3" to something that a solidity contract will accept as bytes32?
<patmaddox>
@lidel okay so apparently I can specify the hash to use when adding to IPFS... but that still produces a 49-character CID. I need to produce something that I can pass to a solidity contract that requires a bytes32 argument, I'm using a Javascript client
colatkinson has joined #ipfs
<lidel>
patmaddox, CID zb34W5xTgPjZvqciuBe2SNEhPGKbPLs8ZDExTExdePCqUAEL6 encapsulates 4 fields (as you can see in second link). what you are looking for is "7b95b907df9cbb17f53635ed37d9954b1fdb0d2ee3cfa91c9ea57e83c24805ff" - a hex of keccak-256 (32 byte hash). You probably want to extract the raw hash from CID using JS lib described at https://ipld.github.io/js-cid/
<patmaddox>
Do you happen to know of an example somewhere that shows a CID being transformed into something a solidity contract can accept? I've read through those pages many times and don't see how to do what I want. The closest guess I have is: multihash.toHexString(new CID('zdpuAyKusAHvNLAH1LS4vsTinUT5Lqq7xbJ6utEH2dHfjL6R3').multihash)
<patmaddox>
I've simplified the contract to accept two bytes32 args, and emit an event with the values of the args. I pass that same string into both args, and get an event with two different values. I would expect the values to be the same
<patmaddox>
I can prefix the string with 0x and get two other completely different args
<patmaddox>
so, I'm trying to find an example that shows converting a CID to something that a solidity contract can accept as a bytes32 arg
<tperson>
lidel: Does cid-utils.ipfs.team have a backing github repo? That is a pretty neat utility.
<patmaddox>
okay, I have something that seems to work: '0x' + multihash.toHexString(new CID('zdpuAyKusAHvNLAH1LS4vsTinUT5Lqq7xbJ6utEH2dHfjL6R3').multihash.slice(2, 34))
pcardune has joined #ipfs
<lidel>
patmaddox, cid.multihash.digest.toString('hex') did not work for you?
pcardune has quit [Remote host closed the connection]
<patmaddox>
I didn't see cid.multihash.digest.toString('hex') anywhere in chat or in the documentation, so I wouldn't know to try it... but no, it doesn't work because digest is null – cid.multihash is just a Uint8Array
<lidel>
patmaddox, multihash.decode(new CID('zb34W5xTgPjZvqciuBe2SNEhPGKbPLs8ZDExTExdePCqUAEL6').multihash).digest.toString('hex') (no slicin')
<lidel>
may be bit safer
<patmaddox>
well I'm getting close – I successfully converted my CID into something solidity understands – now I'm trying to go the other way. I've got a Uint8Array of 34 bytes and I need to get it back into a CID
<patmaddox>
hrm interesting that does look quite a bit safer :) and the digest is 32 bytes, exactly what I need
<lidel>
yup
shanemcd has quit [Read error: Connection reset by peer]
<lidel>
I'd also check if multihash.decode(cid.multihash).length === 32 somewhere in the beginning of your contract's code, in case CID with longer hash sneaks in somehow
djdv has quit [Read error: Connection reset by peer]
ygrek has quit [Ping timeout: 256 seconds]
fleeky has joined #ipfs
shanemcd has joined #ipfs
<patmaddox>
okay, I'm able to go back the other way! multihash.encode(digest, 'keccak-256')
<patmaddox>
I think that's all the pieces I need... now just gotta put them together :)
<patmaddox>
thanks so much @lidel, I've been struggling with this for quite a while before talking with you
ygrek has joined #ipfs
shanemcd has quit [Client Quit]
shanemcd has joined #ipfs
}ls{ has quit [Ping timeout: 240 seconds]
bomb-on has joined #ipfs
jesse22_ has quit [Remote host closed the connection]
<lidel>
patmaddox, cool! I hope 'digest' you encode is a real keccak-256 calculated from original payload – otherwise you will have bad time :P
cxl000 has joined #ipfs
<patmaddox>
seems to be... I did `ipfs dag put --hash keccak-256 myfile.json` and managed to transform that hash to bytes32 and back. That's command-line though, I'll need to make sure my Javascript is using the correct hashing algorithm
<lidel>
yup, thats fine
colatkinson has quit [Quit: colatkinson]
djdv has joined #ipfs
yhwh has quit [Ping timeout: 264 seconds]
yhwh has joined #ipfs
smuten has quit [Ping timeout: 255 seconds]
<patmaddox>
ah I'm not quite there yet. I've got a 34-byte UintArray and I need to get back into a CID string (I could have sworn I figured that part out, but I guess not)
ygrek has quit [Ping timeout: 240 seconds]
EverClear42 has joined #ipfs
<patmaddox>
new CID(1, 'dag-cbor', cid.multihash).toBaseEncodedString()
lldd_ has quit [Quit: Leaving]
}ls{ has joined #ipfs
rodolf0 has quit [Ping timeout: 276 seconds]
Encrypt has quit [Quit: Quit]
lord| has joined #ipfs
chriscool1 has quit [Quit: Leaving.]
borden has joined #ipfs
xzha has quit [Ping timeout: 256 seconds]
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
geoah has joined #ipfs
patmaddox has quit [Remote host closed the connection]
Ecran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
geoah has quit [Ping timeout: 240 seconds]
cxl000 has quit [Ping timeout: 256 seconds]
slashrsm has quit [Ping timeout: 240 seconds]
slashrsm has joined #ipfs
rodolf0 has joined #ipfs
rodolf0 has quit [Client Quit]
geoah has joined #ipfs
lupine has quit [Remote host closed the connection]
ericxtan_ has quit [Remote host closed the connection]
ericxtang has joined #ipfs
archagon has left #ipfs [#ipfs]
lupine has joined #ipfs
ericxtang has quit [Ping timeout: 264 seconds]
xcm has quit [Ping timeout: 276 seconds]
Arsenick has quit [Ping timeout: 264 seconds]
Arsenick has joined #ipfs
TheLugal__ is now known as TheLugal
borden has quit [Quit: Leaving]
geoah has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcm has joined #ipfs
ashark has quit [Ping timeout: 255 seconds]
jkrone has quit [Ping timeout: 264 seconds]
tenchooo has quit [Remote host closed the connection]