New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

Ethereum Swarm - Pastebee dApp Presentation

SwarmSat, Oct 9, 2021, 12:00 AM

This thin dApp is the result of the Liberate Data Week hackathon. It's running on Swarm and done using FairOS and Fairdrive. The dApp enables you to send censorship-resistant, private messages instantly. Enjoy Pastebee! Liberate Data Week is a Fair Data Society organised hackathon happening from 8–14 February 2021. Ethereum Swarm website: https://swarm.ethereum.org/ Fair Data Society website: https://principles.fairdatasociety.org/ About the hackathon: REIMAGINING THE DATA ECONOMY BY CREATING A FAIR, DECENTRALISED DATA LAYER Those who are not yet familiar with the Fair Data Society (FDS) initiative should check out their website, but in short, FDS is an ecosystem initiative working towards a self-sovereign data commons, guided by the community’s ethical principles. As Swarm was once incubated in the Ethereum Foundation, Swarm is supporting Fair data society until it can stand on its own feet. Fair Data Society aims to connect the wider ecosystem and is technology-agnostic, connecting the “tech with social” while facilitating discussion around the ethical shared values of the ecosystem. Liberate Data Week is a hackathon packed with valuable announcements, talks, demos, and presentations. Each hackathon day is dedicated to a specific topic, each relevant to the Fair Data economy. You can expect many practical workshops that will demonstrate how to use Fair Data Society’s FairOS libraries and Fairdrive to build thin dApps on top of Swarm. A lot of focus will also be dedicated to Swarm incentives and tutorials on how to run your own Bee node. CONTRIBUTE YOUR FIRST THIN DAPP VIA FAIRDRIVE The goal of the event is for you to learn how to install and run your own Bee node, discuss fair data-related topics, and understand Swarm incentives and how you can benefit by plugging into the Swarm network in its early stages. The ultimate goal, though, is to bootstrap the use of Fairdrive as the go-to solution when developing thin dApps on Swarm and to build your first one at the event. A jury will vote for the best one and reward the winning team for their efforts. More hackathon rules and guidelines will be given at the start of the event. WHO IS THIS EVENT FOR? Although this is promoted as a hackathon, this event is interesting to a wider audience than just developers and Swarm grant recipients. The topics discussed during the opening morning talks give a comprehensive insight into Swarm and Fair Data Society related topics, and the practical Swarm Bee node workshops present an opportunity for non-tech people to run and install their own nodes too. Everybody is welcome to re-watch the videos of this event.

Transcript

next up we have based b and this is by one of digital i think it's pete nicklaus um a someone we know um to be very loosely affiliated with the swarm but pete it's always nice to see you um good to see you guys too yes uh pete uh from the uk if i'm not mistaking uh absolutely uh please go ahead do your thing thanks very much uh so i will share my screen and then you guys can see what's going on so uh this is paste b paste b is sort of like an attempt to to produce a production grade kind of utility simple utility app built on sport on swarm kind of uh getting in there at the kind of minimum viable product kind of stage and building out from there so the idea is a clone of pastebin which i'm guessing you guys have all used the idea is that it's just the simplest way of being able to share a piece of text with someone else accepts that in this case uh obviously with pastebin it's susceptible to um all of the uh current current issues with the with web2 infrastructure and could easily be taken down it's all centralized whereas obviously it's built on swarm in a decentralized way so this becomes sort of unstoppable uncensorable um way of being able to transmit data so that's where we're coming to this from um so um yes i'll take you through it so the idea is that you can any text into this text box here quickly uh hit the paste button it uploads to swarm and then there's a link that you can share and copy copy and share with anyone you go and then that person can edit and send it back to you um it's all mobile friendly it's all been built beautifully the idea is it's got quite a nice user experience as well on top of it all if you're looking for more information there's this neat little pop-up here so i'll demo editing the information paste it again copy the link and there we go there's the ascii copy available for you um like i said it's a pretty simple implementation of where we're at um there's a road map from here on in so there's a few obvious things that are missing here code highlighting is the the first one that we'd like to get in here pastebin is traditionally used as a way of of people being able to copy copy and share code and it would be really good to be able to support that within within paste b as well uh i'd like to get text formatting in here so people could start writing markdown documents and then the the other thing which is very obvious is the ability for people to be able to collaborate on a document at the same time using using the psp system so that's where we're at it's available on swarm gateway but it's also available on the the traditional web 2 as well i'll drop some links into the chat so you guys can have a play with it and hopefully use it it's it's production ready so go ahead that that was a lovely demo it's it's yeah pete that was amazing um i also love how you say traditional web 2.0 [Laughter] if you know you're from europe too so normally if we call something traditional it's been around for at least like 300 years but it feels like that sometimes it's really cool like the jury is shouting how much they like this and um there's like one question can we have this encrypted uh yeah i'm sure we can absolutely yeah if you can if you could do this with like some pgp kind of with some keys or anything that would be um okay this is a question it's not maybe not really about your your registered solution but the question from the jury is what was the biggest difficulty which you faced developing paste b and how did you solve it well i guess i'm lucky in the way i'm standing on the shoulders of giants here right obviously dan is is very close to your project so the integration with swarm was uh was easy with his uh with his expert guidance um i see yes um we all know his giant beard that you're mentioning which library another question is which library did you use uh to do this which library yeah library meaning meaning how do you interact with the b client or with the gateway so it's just http requests using the axios [Music] yeah um okay yes and yeah we i already asked this question um can you encrypt the shared links yeah let's let's get it onto the basically these are not even questions from the jury they are by now they are doing feature requests so i want to create a get up issue um on on your repo um let's get this into production as soon as we can right this you know this is a useful hopefully useful utility that everyone can use it is it is this tremendously fun and also the design is like spot-on if you ask me anyway um i'm not in the jury so i can tell you like i'm very enthusiastic about this and it uh you know it's just lovely i would i would love to use this thank you so much pete also for your shorts and oh one question another question what is the the size limitation i probably probably mean like in in bites i mean we haven't stressed tested at this point really um the majority of my effort on this this week has been tidying up the edge cases and making it look pretty um so let's let's all work together to see how far we can push it yes that's perfect thank you so much pete we will see you tonight at the closing ceremony i hope um always fun seeing you thank you pete and see you soon alright see you soon bye

Automatic transcript — names and jargon may be misspelled.