►
Description
The Baseline Protocol team takes you through the code of the v0.1 update.
Previous video: https://youtu.be/ZgaAcQvoD_8
Next video: https://youtu.be/l3BDBNMnR_Q
Go to https://baseline-protocol.org for more information.
A
All
right,
that's
that's
where
we
start
so
a
few
companies
or
organizations
are
getting
together
and
we,
let's
just
keep
it
simple
and
and
assume
that
we're
gonna
use
the
the
public
mainnet.
B
Yep
and
so
essentially
inside
of
the
so
so
this
is
the
the
higher
level
diagram
to
you,
know
to
that
entry
point
right
and
that's
the
iregistry
interface
and
again
we
can
show
working
examples
of
this
in
a
follow-on
session,
but
the
eye
registry
interface
is
the
place
where
implementations
can
define
work,
groups,
send
invitations
and
update
and
modify.
B
You
know
you
in
a
permission
based
way,
the
state
of
that
of
that
those
relationships,
inter-organizational
relationships
and
the
users
and
permissioning
their,
and
that
you
know
they're
of
they're
too
one
of
those,
and
so
this
I
registry
interface,
is
the
word:
is
the
entry
point
you
will
want
to
a
single
the
the
person
who
is
setting
up
a
work
group
will
will
basically
invoke
the
create
workgroup
method
on
the
I
registry
interface,
it's
currently
very,
very
loose
in
terms
of
the
types
that
are
that
are
supported
it
just
basically
lets
you
do
whatever
you
want
and
pass
whatever
parameters.
B
B
Group
method
essentially
will
be
responsible
for
persisting
anything
on
a
local
level
like
in,
like
a
local
postgres
database,
for
example,
and
then
doing
operations
just
for
in
terms
of
the
a
local,
a
local
copy
of
the
data
and
also
being
is
also
responsible
for
for
deploying
the
org
registry
contract
for
the
work
group
and
reg.
And
then
you
know,
that's
sort
of
the
that's
sort
of
the
life
cycle
for
create
work.
Group.
A
So
kyle
on
the
on
the
work
group,
if
I
in
the
create
work
group,
what
am
I
doing
there
am
I
so
I've
got
say
three
companies
a
b
and
c
alice,
bob
and
and
cynthia
and
we're
going
to
get
together
now
we're
going
to
have
to
know
where
each
other
are-
and
I
remember
you
telling
us
about
how
the
org
registry
now
is
sort
of
this
universal
org
registry?
B
On
the
public
blockchain,
when
this
is
on
the
ethereum
public
blockchain,
I
think
it
makes
great
sense
to
have
an
or
a
public
org
registry,
but
on
in
the
in
the
current
phase
of
where
we
are
and,
as
demonstrated
in
the
example
app,
it
does
deploy
a
new
org
registry
contract.
And
so
that's
where.
B
For
each
new
work
group,
this
will
deploy
the
org
registry
contract
so
like
what
this
does
is,
if
bob
or,
if
alice,
is
the
initiator
of
this
work.
Group
alice
calls
this
method
on
her
side
and
it
does
the
stuff
that
you
know
it
deploys
the
work
group
right
of
the
the
org
registry
contract,
but
that
contract
is
not
does
not
make
alice
the
all
like.
It's
just
basically
out
there
right,
yeah.
A
A
B
And
that's-
and
that
makes
this
that
makes
this
exact.
You
know
interface
and
and
functionality
flexible
to
work
not
only
on
the
public
ethereum
blockchain,
but
on
a
private.
You
know
test
net
or
the
robson
test
net
with
your
own
little
work
group
or
you
know
really
any
any
any
test
or
production.
Word
registry
contract.
A
And-
and
can
I
add
to
it
later
or
is
there
anything
or
is
that
implemented.
B
B
So
the
create
workgroup
method
doesn't
actually
doesn't
add
to
companies.
You
still
have
to
actually
register
you
have
to
register
yeah
so
after
alice
deploys
the
the
work
group.
So
so
what
does
that
there's?
Also?
Not
only
does
this
update
the
blockchain,
but
good
implementations
are
going
to
have
a
local
copy
of
the
work
group
and
like
stuff,
you
know
locally
as
well,
probably,
and
so
that
that's
also
respon.
B
It's
also
responsible
for
maintaining
the
the
off
chain,
an
off
chain
representation
of
the
work
group,
and
so
that
then
invitations
can
be
issued
to
other
participants,
and
so
that's
where.
B
C
B
I
mean
I
guess
it
could
be
like
internally
at
a
big
company.
Like
I
don't
know
microsoft,
you
could
maybe
invite
some
other.
You
know
business
unit
by
active
directory
potentially,
but
I
could
see
that
just
becoming
an
email
address.
You
know
really
at
the
end
of
the
day,
and
so
you
know,
I
think,
the
user.
You
know
you're
basically
say
giving
someone
permission
to
represent
the
organization.
B
You
know
in
that
org
registry
contract
because
you're,
you
know
you're
giving
the
work
group
you're,
providing
that
work
group
id
that
was
basically
returned
from
create
work
group,
so
they're
gonna
have
to
then
get
an
email.
You
know
you're
gonna,
you're
you're
likely
going
to
know
them.
You
know
if
you
send
an
email
to
someone,
that's
telling
them
to
sign
up
for
an
organization
that
they're
not
a
part
of
it's
not
going.
A
To
make
much
sense
and
that's
kyle,
that's
yeah,
so
the
current
state
of
things
we're
setting
up
these
little
work
groups
again.
You
know
in
the
future.
We
if
we
have
a
global,
so
identity
issues
are
abstract
from
this
from
this
right.
You
know
here,
you're,
stepping
around
the
identity
issues,
saying
hey
we're
just
carrying
a
little
work
group
between
us
kind
of.
B
A
B
You
go
into
that
yeah.
So
when
you,
when
you
create
a
work
group
organization
or
end
update
a
work
group
organization,
that's
where
the
messaging
endpoint
is
actually
set,
so
each
organ
each
worker,
each
each
organization,
has
the
opportunity
to
to
provide
their
their
messaging
endpoint
to
to
the
to
the
registry
contract.
B
And
you
know
it's
it's
not.
It's
just
assumed
that,
like
you
know,
well-behaved
a
well-behaved
implementation
would
verify
the
reachability
of
the
endpoint,
but
it's
just
assumed
that
that
endpoint
will
be
maintained
and
kept
available
by
the
organization.
I
think
that's
a
cool
integration
point
for
something
like
ens
in
the
future.
A
A
What
is
assumed
here
is
that
there
is
a
baseline,
compliant
system
of
record
on
on
the
part
of
companies,
a
b
and
c
in
this
case
right,
and
that
part
of
that
baseline
compliance
is
being
able
to
have
an
emp.
You
know
that
you
have
a
messaging
protocol
implemented,
you
have
an
endpoint,
and
you
have
your
system
rigged
to
to
be
part
of
this
work
group
right.
B
Yeah
yeah
you've
got
your
you've
got
your
infrastructure
running.
You've
got
you
know.
The
messaging
endpoint
has
is
locked
down
sufficiently.
So
you
know
maybe
you're
you're,
going
to
you're
going
to
then
send
tokens
to
to
other
participants
who
can
then
authorize
against
that
endpoint.
B
A
No,
not
at
all
so
so
that's
that's
great,
and
and
we
will
want
to
go
into
what
parts
of
this
need
to
go
into
your
system
of
record
your
call,
you
can
either
go
there
now
or
we
can
keep
going
on
this.
A
So
so
those
parts
right
like
you
know,
I
think
in
this
case
we
have
a
reference
implementation
with
nats
and
we
have
a
reference
implementation
with
with
some
other
components
right,
but
you
don't
have
to
go
there
right
now.
Let's
you
know
we.
B
Can
we
can
we
can
punch
on
that?
We
can
come
back
to
it,
yeah
yeah.
It's
assumed
that
the
messaging
endpoint
that
you
put
in
there
is
one
of
the
one
of
the
valid
and
supported
components.
A
So
for
people
are
watching
if
you're,
depending
on
when
you're
watching
this
you'll,
either
go
to
the
init
core
branch
in
baseline
in
the
ethereum
hyphen
oasis,
baseline,
repo
or
you're
in
master,
because
we
have
pushed
it
already
to
master
or
to
maim
which
will
happen
in
august.
C
B
Yeah,
I
think
it's
more
asynchronously
checked.
I
don't
think
it
actually
emits
any
events
right
now
that
we
care
about,
but
I
think
you
yeah,
I
don't.
I
don't
think
it's
necessarily
needed.
I
think
you
would
just
you
would
look
it
up,
because
you
know
when
you
want
to
get
a
list
of
the
organizations
in
the
work
group.
You
know
you
can
just
do
that.
B
I
also
think
this
construct
of
having
the
off
chain
work
group
and
the
on
chain
org
registry,
as
a
as
part
of
this
interface,
allows
you
to
also
be
flexible
when
the
org
registry
is
a
public
phone
book
with
lots
and
lots
of
participants,
so
you
can
keep
a
subset
of
those
as
your
work
group
off
chain.
A
Okay,
that's
cool!
So
you
see
your
your
you're
look,
you're
you're
kind
of
thinking
ahead
to
when
there's
so.
The
original
design
had
a
work
group
or
an
org
registry
for
every
work
group
and
what
you're
saying
is
yeah.
We
still
have
that,
but
we
can
also
start
to
contemplate
the
idea
of
a
global
phone
book
yeah,
where
you
can
still
keep
sort
of
the
convenient
subset,
yeah
yeah.
B
Right,
yeah
right
now,
it's
it's
a
super
like
it's.
Your
your
your
org
registry
is
just
the
the
set
of
your.
Is
your
work
group
in
the
under
this.
You
know
this
pattern,
but
like
the
when,
when
the
org
registry
is,
the
org
registry
can
be
flexibly
a
superset
of
your
work
group
depending
on
the
implementation.