►
From YouTube: Dean Eigenmann - Ultralight Beam
Description
Berlin Ethereum Meetup - January 2020
A
Thank
you,
I'm
Dean
I'm,
a
researcher
at
status
and
I'm
gonna
quickly
introduce
a
project
that
I
work
on
on
the
side,
with
a
bunch
of
other
people
called
ultralight
beam.
No,
this
is
the
outline
I.
Don't
think
this
is
accurate
anymore,
because
I
like
deleted,
slides
in
my
uber,
but
we'll
see
so
quickly
as
quickly
as
to
what
or
who
is
working
on,
ultralight
beam,
it's
a
project
by
me
and
then
three
guys
at
chained,
safe,
called
Eric,
Kaman
and
Greg.
A
We
started
working
on
it
as
a
project
at
s,
New
York
and
have
been
like
working
on
it
since
then
on
the
side,
so
it
hasn't
been
getting
as
much
love
as
it's
supposed
to
get,
but
we'll
be
working
on
it
again,
like
a
pick
up
speed
pretty
soon.
So,
firstly,
what
is
ultra
light
beam
ultra
light
beam.
Is
a
transport
agnostic
magnet
for
sending
arbitrary
data?
A
man
net
is
a
mobile
ad
hoc
network,
which
you
can
think
of
a
bit
as
a
mesh
net,
but
nodes
aren't
they're
persistently.
A
So
a
man
net
is
a
network
where
topology
changes
like
quite
a
lot.
So,
for
example,
if
all
our
phones
in
this
room
started
connecting
with
each
other
and
like
nodes,
keep
going
offline
and
coming
back
and
the
topology
has
to
reorganize
every
or
in
short,
bursts
of
time
that
will
be
considered
a
man
that
yeah.
So
here's
a
more
formal
definition.
Man
net
refers
to
a
continuously
self-configuring
infrastructure
list
network
of
mobile
devices
connected
wirelessly,
not
only
mobile
devices.
A
There
can
be
like
bigger
things
like
radios
or
whatever,
but
that's
just
like
the
rough
definition.
So
where
do
things
like
MANET
become
useful
in
areas
like
during
protests
when
an
adversary
turns
off
cell
towers?
It's
super
useful
because
I
can
text
someone
who's
in
some
accessible
range
by
hopping
through
multiple
phones
up
until
a
message
reaches
the
specific
peer
it's
supposed
to
reach
or
like
at
a
festival
or
at
a
concert.
When
there's
like
forty
thousand
people
trying
to
connect
to
one
cell
tower,
everyone
knows
how
that
is.
A
The
network
is
off
or
if
you're,
in
some
obscure
location,
which
happened
probably
had
a
ton
of
Syrian
meetups.
Already,
where
there's
like
a
ton
of
people
and
you're
trying
to
message
someone
and
it
is
impossible
or
you
don't
have
3G
or
whatever
another
place,
is
like,
for
example,
a
school
building.
A
Students
love
texting,
but
what's
the
point
of
it
hitting
a
cell
tower
if
the
person
I'm
texting
is
sitting
right
next
to
me,
there's
no
point
in
wasting
data
on
that
when
I
can
just
connect
to
them
directly
and
send
messages
peer-to-peer
or
in
remote
villages,
in
the
middle
of
nowhere
where
there
is
no
cell
connection,
but
there's
electronic
devices,
it
can
be
used.
There's
another
interesting
research
facet
there,
which
is
called
van
nets
or
vehicle
ad
hoc
networks.
When
the
late
alright
networks,
which
are
interesting
where
like.
A
A
So,
for
example,
if
I
have
whatsapp
and
whatsapp
integrates
this
and
someone
else
uses
a
telegram
and
telegram
integrates
this
in
an
ideal
world
where
there's
no
adversary,
what
will
happen
is
my
message
will
be
propagated
by
any
other
node
in
the
network,
so
that
the
reach
is
pretty
far
as
long
as
people
are
using
this
protocol,
how
it
works
is
essentially
every
phone
or
every
device
that
runs
ultra
light.
Beam
is
a
node
that
has
a
series
of
services
in
a
series
of
transports.
A
So
yeah
the
transports
we
have
integrated
now
our
Bluetooth
ble.
The
next
thing
we're
working
on
is
Wi-Fi
direct,
which
has
been
a
little
bit
of
an
effort,
because
that
is
only
actually
supported
on
Android
and
it's
supported
kind
of
obscurely
and
then
one
of
our
friends
who's
like
a
hobbyist
radio
dude
is
also
working
on
a
radio
transport,
so
we
could
send
messages
a
lot
further.
A
This
is
just
a
code
example
because
I
took
the
presentation
from
our
workshop
at
Def
Con,
where
we
were
teaching
people
how
to
implement
their
own
transports,
ideally
or,
as
you
can
see
here,
everything
is
pretty
simple.
The
only
thing
that
a
developer
is
essentially
exposed
to
as
a
send
and
a
listen
function
where
send
they
send
some
arbitrary
message
to
some
address
and
the
listen
function
just
receives
messages
that
have
been
sent
to
that
specific
device.
A
The
nice
thing
is
as
well.
Devices
can
send
and
listen
to
multiple
transports
at
the
same
time.
So
if
I'm
paired
with
someone
over
Bluetooth
and
they're
appeared
with
someone
over
Wi-Fi
direct
and
I'm
trying
to
send
it
to
that
person
who
the
middleman
is
paired
with,
the
message
would
hop
through
the
central
person
who
understands
the
transport
that
I'm
using
and
then
forwarded
to
that
other
transport
yeah.
As
said
currently
we're
supporting
ble
for
a
short
distance
communication
that
works
for
computers
and
mobile
phones.
A
So
we've
done
like
examples
of
multiple
Macs
and
iPhones
and
Android
phones
connecting
and
forwarding
and
broadcasting
messages
to
each
other
near
future
is
Wi-Fi
direct
as
lot
as
well
as
like
the
ham
radio
stuff.
That
I
was
talking
about
services,
as
that
are
those
advertised
capabilities
of
a
note
and
a
man
net.
Here
we
have
some
examples
which
is
like
an
ethereal
RPC
chat
messaging
or
like
if
there
was
a
generic
state
channel
interface
that
works
over
the
entire
ham
radio,
so
you
can
send
through
or
sent
those
through
the
network.
A
A
Those
are
like
the
usually
like
a
laptop
that
can
receive
a
lot
more
messages
and
is
connected
to
some
internet
endpoint
or
whatever
yeah
I
said
the
relayer
generally
lives
on
the
edge
of
the
man
net,
so
it
like
is
within
the
man
net
and
then
has
access
to
like
internet
or
whatever
so
that
can
broadcast.
The
message
is
further.
What's
interesting
with
this
is
multiple
magnets
could
be
connected
by
use
having
these
edges
that
then
send
the
message
over
the
Internet
to
another
edge
that
then
propagates
it
within
their
own
network
yeah.
A
So
bluetooth
is
what
we
currently
support.
Wi-Fi
direct
is
what
we're
working
on
next
there's
a
github
ultra
light
beam,
the
current
implementations
that
we
have
are
Swift
and
there's
a
:
one
in
the
process.
We
were
also
looking
at
writing
a
go
one,
but
the
Bluetooth
support.
There
is
kind
of
crappy,
and
every
operating
system
has
their
own
Bluetooth
drivers
and
bluetooth
api's.
So
it's
suboptimal
to
do
something:
that's
not
that
device
specific
for
Bluetooth.
Are
there
any
questions.
B
C
A
The
first
question
was
encryption:
that's
the
messages
are
just
arbitrary,
binary
data,
so
you
can
have
a
handshake
before
where
you
agree
on
signing
key
and
then
encrypt
the
messages
end-to-end.
We
are
not
doing
that
per
default
yet,
but
what
we're
working
on
is
implementing
a
lip,
p2p
style
handshake,
so
that
we
can
do
that
and
then
for
the
limitation
of
how
many
devices
Bluetooth
devices
or
ble
devices
can
central's
can
connect
to
eight
other
devices
at
a
time
and
their
distance
I
think
is
something
like
80
meters
uninterrupted.
A
So
that's
with
Bluetooth
Wi-Fi
direct
I
think
has
a
cap
of
16
devices
on
Android
and
the
distance.
There
is
a
lot
further
I'm,
not
entirely
sure.
The
main
problem
which
you
have
is
the
packet
size
because
ble,
for
example,
limits
the
packet
size,
but
what
the
Apple
implementation
does,
which
is
used
by
iPhones
and
Mac's.
Is
it
already
pages
those
messages
into
multiple
pages
so
that
you
have
Windows,
which
are
then
automatically
regrouped
again
on
receiving,
but
I?
Don't
think
the
Android
version
works
the
same
way.
A
We
don't
rely
on
MAC
addresses
because
those
on
Bluetooth
are
invalid.
Anyways
MAC
addresses
on
Bluetooth
are
generated
every
time
the
device
is
discovered,
so
you
need
some
static,
peer
ID
and
then
you
advertise
yourself
as
oh
I.
Am
this
peer?
You
can
find
me
through
this
information
in
Bluetooth
and
I'll,
prove
to
you
that
I'm
that
peer
by
signing
a
message
beforehand.
C
B
A
With
with
MANET
routing,
there's
like
three
specific
algorithms,
I
forgot,
like
the
exact
description
of
all
three,
that
we're
doing
a
ton
of
research
on
it.
So
what
you
can
either
do
is
just
burst,
essentially,
which
is
what
we're
doing
now
we
just
broadcast
to
the
entire
network,
then
what
some
other
algorithms
do
is
when
I
receive
a
message,
I
check
my
peers
and
they
give
me
or
they
always
in
short
windows.
A
A
There
so
there's
been
examples.
There
was
fire
chat
which
was
used
during
the
umbrella
protests
in
Hong
Kong,
and
that
was
shut
down
because
the
guy
who
developed
at
work
or
lives
in
China
and
at
one
point
there
was
a
knock
on
his
door,
which
told
him
to
stop
working
on
that
application,
and
so
he
also
stopped
working
on
that
and
then
there's
Bridget
Phi,
but
Bridget
Phi
is
an
open
source
and
it
only
works
over
Bluetooth.
So
the
goal
of
this
one
is
to
be
open
source
work
on
multiple
transports
and
have
multiple
implementations.
A
So
there's
already
been
these
like
rough
experiments,
but
I
think
I.
Think
the
main
problem
is
the
technological
challenge
or
we've
had
this
stuff
for
it.
But
there's
always
been
like
certain
challenges
like
with
Bluetooth
this
implementation.
Bluetooth
was
never
low-energy
enough
for
it
to
be
useful.