►
From YouTube: Agoric - VatTP over IBC
Description
This demo shows using two separate blockchains connected via Agoric's dynamic #IBC to convey #ocap object messages between them.
https://agoric.com for more context.
See https://github.com/Agoric/agoric-sdk/issues/259 for the demo script we followed.
A
Greetings,
my
name
is
michael
figg.
I'm
from
megorik.
This
demo
today
is
to
demonstrate
our
vat
tp
protocol
over
ibc.
I'm
just
going
to
run
this
one
command
to
start
two
separate
chains
on
different
ports.
So
I'm
just
going
to
run
the
scripts
and
chains
in
the
agoric
command
to
start
up
the
agora
chain.
A
And
then
I'll
probably
cut
to
the
point
where
the
script
is
basically
done,
so
here
it's
installing
binaries,
generating
configurations
doing
all
this
stuff.
A
A
So
we'll
call
the
browser
on
the
left,
alice
and
we'll
call
the
browser
on
the
right
bob,
our
good
friends
from
cryptography.
So
essentially,
these
two
browsers
are
connected
to
each
of
the
two
different
chains.
A
Now,
what
we're
going
to
do
is
we're
going
to
create
our
demonstration
object,
which
is
just
a
hello
object.
All
it
does
is
it
has
a
hello
method
and
it
prints
out
the
message
that
it
got
called
with
and
returns
the
friendly
greeting
to
the
other
side.
So
alice
is
going
to
be
the
one
hosting
this
object.
A
As
you
see,
the
object
that
was
evaluated
is
just
with
the
single
method.
Hello,
next
thing
that
we're
going
to
do
is
we're
going
to
set
up
alice,
to
accept
incoming
inbound
ibc
connections
and
then
to
publish
the
hello
object
to
that
connection.
A
It's
an
unresolved
promise
took
a
little
bit
to
resolve.
Now
it's
just
returning
an
empty
answer
to
say
that
we've
registered
our
network
listener.
A
A
So
it
says
it's
undefined,
oh,
but
of
course
it
spits
out
a
bunch
of
error
messages.
This
is
because
currently
ibc
isn't
fully
dynamic,
we
don't
we
aren't
allowed
to
create
empty
or
new
channels
on
the
old
connection
at
all.
We
need
to
do
that
manually.
So
I'll
just
run
this
command
that
was
displayed
for
us.
A
So
that
means
that
the
the
network
host
published
hello
object
on
dot
tp,
I'm
just
going
to
take
this
value
and
copy
it
over
to
the
other
chain
to
bob,
so
alice
is
published.
Now
bob
is
receiving
a
message
out
of
band
somehow
so
it
just
says
we
have
hello
address
now
and
now
we
want
to
create
an
object
that
will
look
up.
The
hello
address.
A
A
So
the
power
of
this
message
messaging
system
is
that
it
allows
objects
to
be
published
across
chains
to
to
that
or
to
essentially
trains
that
understand
the
agora
captive
protocol
and
that
tv
over
ibc
accomplishes
this,
and
now
we
can
share
assets
across
chains
using
the
same
object
model
if
we
wish
and
it'll
all
just
be
transparent.