►
From YouTube: TokenScript Weekly Meeting 20200618
Description
No description was provided for this meeting.
If this is YOUR meeting, an easy way to fix this is to add a description to your video, wherever mtngs.io found it (probably YouTube).
B
A
C
A
A
Good,
so
let
me
share
my
screen,
then
entire
screen
in
high
screen.
A
A
Okay
yeah,
so
first,
the
model
of
the
check
is
defined
by
defining
that
object
code
redeemed
by
email
with
two
elements
in
it.
One
is
amount.
The
other
is
the
predicate.
If
you
remember
our
protocol
at
this
moment,
Alice
to
generate
very
strange
number,
which
is
reno
that
only
bug
cancer
if
he
can
present
attestation
to
his
email
address
and
they're
not
approve
of
them,
so
I
prove
a
knowledge
of
them,
a
privacy
key,
that's
the
our
protocol.
I
would
our
team
who
take
you
to
the
protocol.
A
A
A
And
that
riddle
is
s,
and
the
question
is
whether
or
not
Bob
can
produce
such
an
X
that
X
that
satisfies
this
equation
and
present
a
valid
attestation.
Our
subject,
s
which
is
calculated
from
Bob's
identifier,
so
really
inside,
to
check
there
only
to
require
only
twist
to
two
elements.
One
is
the
amount:
how
much
to
beam
from
an
assessee
wallet
and
the
others
riddle,
which
is
a
point
and
elliptic
curve
and.
A
A
A
A
That
is
the
check
which
has
a
defined
structure
that
JavaScript
only
needs
to
initialize
and
a
return,
and
that
is
for
defined
structure,
of
course
contains
stuff
like
amount
in
the
middle.
So
it's
easier
to
explain
this.
If
we
observe
how
how
that
Harmonia,
how
I'm
sorry,
how
ASN
module,
how
hot
new
generates
Java
code
from
layers
in
module
and
then
we
we,
we
understand
that
process
and
then
we
replace
Java
with
JavaScript
that
you
see
what
I
proposed
here.
So,
let's
look
at.
A
A
A
A
A
A
A
From
this
objective,
see
this
objective
systems
compiler
or
whatever,
but
and
I
just
want
to
get
concept
concept.
Theory.
It
doesn't
matter
which
library
which,
what
code
it
is
so
out
of
the
data
object
and
taking
that
object,
we
created
a
class
and
you
can
see
there
are
public.
Actually,
it's
like
poverty.
Actually
Stalin
sees
poverty,
public
property
match
of
the
admission
you
have
class
2,
which
is
another
ticket
class.
Taking
the
classes
says
it's
restricted
to
your
three
three
possible
values.
A
A
Maybe
it's
in
different
file.
Yeah,
it's
different
file
could
have
been
very
nested
class,
but
the
lucky
drive
okay.
So
it
has
three
possible
values:
1
2,
3
4.
So
this
these
Java
classes
for
the
code
to
initialize
a
data
object
following
the
template.
Actually
the
schema
module
doesn't
matter
define
here.
A
A
A
When
the
view
returns
comfort,
when
the
computer
confirms
to
view
the
now
initialized
javascript
class
is
returned
to
the
token
script
engine
for
signing,
there's
a
long
doesn't
make
sense.
I
can
do
a
deal
yeah.
Can
you
please
say
one
more
time
so
look
at
this
token
scrip.
It's
only
thanking
something
lies
in
this
total
script.
A
Therefore,
before
the
view
even
launches,
when
the
do
is
launched,
the
token
script
engine
injects
into
the
view
a
JavaScript
class
based
redeem
by
email
check
and
the
when
the
user
confirms
the
view.
When
the
confirms
to
action,
the
JavaScript
would
have
already
had
initialized
this
class
with
appropriate
values
like
the
prepared
batter
for
you
know
so
that
the
tokens
could
be
engine
can
take
this
initialized
object
and
convert
it
into
a
signed
blob
which
can
be
later
turned
in
for
magic,
Lincoln
Center
as
a
Connor
as
a
transaction.
C
See
so
it's
kind
of
like
it's
kind
of
like
a
a
way
of
dynamically
changing
the
the
time
with
3
J
injection
code
for
each
token
view?
Yes,
so
I'm,
adding
extra
stuff
in
based
on
this
s,
ASN
module.
A
C
A
And
so
so
his
result
is
exactly
was
as
it
s
SF.
So
this
we
can
ask
ask
him
what
to
do.
Show
you
what
I
asked
him
to
do.
This
is
a
complicated
as
an
module
right.
It
has.
A
lot
of
stuff
is
basically
the
tessellation
framework,
like
the
details
in
the
technicians
like
validity
issue
ears,
which
smart
contract
is
corresponds
to,
and
he
wrote
with
less
than
200
lines
a
translation
engine
that
translates
into
this
text
based
representation
of
the
module.
So
I
looked
at
his
work
and
I
said.
A
If
you
can
do
this,
you
should
be
able
to
translate
this
thing
into
the
JavaScript
class
that
we
inject
into
the
view.
The
idea
is
to
let
the
view
the
retama
script
guy,
who
writes
the
view
to
do
a
minimum
amount
of
work
if
the
module
is
already
defined,
because
when
the
video
starts,
he
already
had
the
JavaScript
that
he
just
need
to
feel
the
values
in
he
just
already
had
JavaScript
class
that
he
just
need
to.
You
know,
create
an
object
out
of
and
of
course
time.
A
A
If
you
want
to
say
the
amount
cannot
be
0,
then
this
is
the
place
to
put
this
restraint
and
in
fact,
if
the
translation
is
done
correctly,
the
JavaScript,
when,
in
the
view,
when
the
view
code
JavaScript
code
once
the
silent
month
as
0,
the
class
might
just
refused
it
out
right.
Instead
of
waiting
for
it
to
be
passed
to
the
to
the
local
script
engine
for
Sahni
and.
B
A
That's
good
now,
let's
go
on
to,
in
which
other
ways
can
we
do
this?
So
I
thought
about
two
ways:
well,
is
a
slight
variation
from
this
one.
That
is,
we
simply
ask
the
view
to
return
adjacent
object
without
injecting
a
JavaScript
class,
and
we
validate
if
that
distant
object,
confirms
the
data
module.
A
So
we
somehow
know
that
think
that
the
JavaScript
author
here
knows
that
he
should
return
the
json
object.
That
has
two
elements
and
one
is
integer,
which
is
every
amount
and
the
other
is
a
big
stream
which
is
called
Rideau
and
then
we
just
take
it
and
validate.
It
gives
the
schema
here
against
the
data
model
here
and
for
that
to
work
we
might
change
in
Stockholm
or
into
something
like
JSON
schema,
so
that
we
can
use
existing
creases
in
my
validation
home.
A
That's
one
way
of
thinking,
I
I
personally
feel
that
it's
not
decided
person
feel
that
letting
the
JavaScript
author
to
create
a
JSON
object
and
then
return
wide
object
is
not
so
good,
especially
after
and
ham
is
a
little
bit.
It's
comparable
to
comparable
to
strong
type
versus
most
hype
and
the
strong
type
is
battering
in
eliminating
random
errors.
So
I
feel
that
is
inferior
than
the
JavaScript
class
objection
a
few.
But
what
do
you
think.
B
A
A
B
A
Which
allows
a
small
step:
debugging
I,
don't
have
a
better
word
for
it.
That
is
a
large
JavaScript
guy
to
write
a
very
small
thing
and
make
a
mistake
and
correctly
very
bright
more,
but
he
will
get
it
get
big
judges
and
out.
Then,
the
big
error
that
comes
back
out
of
it
then
he
has
to
trace
back,
which
part
of
the
J's
is
wrong
or
the
dictionary
naughty
naughty.
Exactly
exactly
line
of
JavaScript
code,
where
the
dictionary
value
is
the
inserted.
A
B
A
A
B
C
A
Which
you
can
use
to
design
and
that
javascript
is
initialized
with
no
value,
so
every
possibility
you
need
to
do
something
to
initialize
it.
It's
not
only
non
value,
though
in
an
ASN
module.
You
can
use
that
truth.
You
can
use
that
kind.
You
can
either
put
email
address
here
or
you
can
put
a
kind
of
phone
number
here
and
then
this
choice
has
to
be
made
not,
and
then
we
simply
make
this
choice.
I
may
not
made
it
yet,
but
we
make
an
object
anyway.
A
A
B
B
Two
ways:
if
I'd
I
des
can
examine
a
class,
they
can
pop
up
suggestions
or
the
more
more
popular
way
nowadays
is
something
like
typescript,
which
is
transferred
to
JavaScript
in
typescript,
is
closer
to
strongly
typed
language.
So
when
you
define
a
class,
you
define
attributes
as
well
as
their
types,
then
you'll
be
closer
to
what
you
want,
but
I
I'm,
not
sure.
If
typescript
and.
B
B
A
Okay
and
the
third
way
to
do
it
is
you
know
we
used
to
do
it
in
this
way.
I
show
you
and
it's
actually
not
term
plan
that
I
want
to
replace
this,
but
I
never
figured
out
the
right
way
to
do
it
so
left
it
untouched.
So
the
traditional
way
we
do
it
is
at
first
I
mentioned
to
you
that
I
think
attributes
in
the
cars
does
not
have
to
be
clipped
to
be
to
be
declared.
If
you
don't
want
to
apply
some
tax
restriction.
A
A
A
A
B
A
It's
reference,
please.
Yes,
that's
that's
what
we
did
before
and
if
we
apply
the
same
thing
here
in
this
check
design,
then
we
would
end
up
like
something
like
what
you
are
saying
now,
but
I
had
hoped
by
introducing
modules,
we
are
able
to
separate
them
out,
whereas
it
will
separate
the
model,
definition
and
implementation,
which
is,
is
the
instantiation.
A
So
you
only
have
a
model
defined
somewhere
else,
and
then
you
can
just
have
very
simple,
very
small
token
script,
so
this
module
can
be
defined
here
outside
of
any
actions.
It
can
even
be
defined
outside
of
the
token
script
and
imported
so
that
you
have
very
simple
view
and
assign-
or
you
have
very
simple
view
in
the
transaction.
A
So
I'm
showing
you
this
design,
which
is
based
on
traditionally
how
we
do
traditionally
the
thinking
without
using
module
that
about
your
concept,
the
thinking
back
in
phase,
then,
if
we
agree,
apply
that
thinking
to
today's
creation
of
checks,
then
you
get
something
like
this,
but
I
prefer
this
one,
which
is
by
using
module.
You
don't
define
the
syntax
fetching
use
anymore
and
you
don't
define
the
validation
rules
anymore,
but
you
simply
have
a
module
here.
A
You
might
still
need
to
define
a
few
attributes
if
you
want
to
take
advantage
of
the
fact
that
attributes
allow
you
to
house
your
source
data
from
smart
contracts
and
especially
if
you
want
to
source
data
from
one
that
has
station
use
it
in
the
other
one.
You
must
do
need
something
like
that,
but
this.
A
A
A
C
I
prefer
the
JavaScript
injection
it's
the
intentional
to
but
procedurally
generate
the
class
and
then
I'm
injected.
That
way.
A
And
anyway,
this
is
my
thinking
at
the
moment.
We
still
have
five
minutes
in
this
meeting.
If
you
have
something
for
our
gifted.
Let
me
know:
I
will
be
working
on
this
to
complete
the
job
that
Hawkins
cooked
for
Alice
and
Bob.
One
is
for
check
and
the
others
for
in
a
dress
attestation
in
the
next
week,
following
the
thinking
that
we
decided
today.
A
A
A
A
A
A
A
B
A
Yes,
yes,
that
is
the
reason
that
I
prefer
to
introduce
module
here,
yeah,
so
that
the
reading
and
writing
is
based
on
same
data
module
same
yes,
a
module.
Yes,
yeah,
yes,
I
think
that's
the
way
to
go.
I
think
I
will
work
on
this
one
and
next
week
you
should
be
able
to
see
Alice
and
Bob.
Both
sides
also
implementation
difficulties.
That's
something
I
want
to
go
with
tall
on
a
detailed
level
because
it
seems
if
we
adopt
this
thinking.
We
need
two
implementations.
A
One
is
how
do
you
create
a
JavaScript
object
out
of
the
module
and
the
other
is
how
does
Java
or
Swift
consumes
the
texture
data
and
make
sure
it's
correctly
correct
and
solid?
We
can.
We
can
make
it
make
it
simpler
in
a
way
that
we
only
have
JavaScript
to
make
sure
the
that
object
is
correct
and
then
Java
only
signs
the
attestation
without
checking
that
object,
and
then
we
can
add
the
validation
of
the
data
object
in
the
next
few
years,
so
we
don't
have
to
do
it
now,
so,
basically
JavaScript
Java
code.
A
A
So
this
is
to
apply
that
thinking
means
we
do
it
half
way
here
halfway
there
yeah,
and
that
means
Java
side
I
impose
case.
A
suicide
doesn't
really
need
to
understand.
Yes,
an
X
module,
except
for
the
attestation
framework,
which
can
be
hard-coded,
because
a
testing
framework
is
always
the
same,
very
similar
right.
A
Well,
I
think
it's
the
end
of
the
meeting
already
so
so
in
the
coming
week.
In
coming
in
five
days.
Also,
I
will
work
with
you
on
exploring
the
available
libraries
based
on
this
design
and
I.
Think
it's
pretty
clear
that
on
Java
side
we
use
bouncy
castle
and
there
is
no
about
what
to
do
there,
because
Java
has
only
a
test
station
to
make
which
is
similar
to
x.509.
Anyway,
then
we
just
need
to
explore.