►
From YouTube: NFT Game Toolkit: From hackathon to Tachyon - Leon Do
Description
Leon Do walks us through his experience of building an IPFS game for a hackathon turned into a creating a startup.
For more information on IPFS
- visit the project website: https://ipfs.io
- or follow IPFS on Twitter: https://twitter.com/IPFS
Join your local IPFS meetup to attend our next event: https://www.meetup.com/pro/ipfs/
Sign up to get IPFS news, including releases, ecosystem updates, and community announcements in your inbox, each Tuesday: http://eepurl.com/gL2Pi5
A
A
My
name
is
leon
hello.
I
used
to
work
at
shapeshift
and
about
six
or
seven
months
ago
I
was
working
on
finance
and
I
was
contributing
to
protocol
labs
for
a
while.
So
during
that
time
about
six
months
ago,
I
did
a
lot
of
like
you
know
your
typical
nine-to-five
work,
but
I
wanted
to
do
more
experimenting
more
like
playing
around
with
with
new
technologies
and
and
pl
had
a
lot
of
cool
tech
that
I
wanted
to
play
around
with.
So
I
was
thinking
about
okay.
A
What
should
I
do
right
so
around
around
that
time?
Around
six
months
ago
there
was
this
hackathon
called
hackfest
and
so
pl
reached
out
to
me
and
they
said
hey.
You
should
join
this,
it's
sponsored
by
ethglobal
protocol
labs
and
a
bunch
of
other
sponsors.
So
I
thought:
okay,
let's,
let's
do
something
fun,
let's,
let's
give
it
a
try
right.
This
is
the
sycathon
a
try,
but
a
little
disclaimer
before
I
did
this
hackathon.
A
My
record
was
not
that
good
in
the
hackathon
space,
in
fact,
I
lost
every
single
hackathon
that
I've
attempted
0
and
8.
It's
probably
more
all
the
hackathons
that
I've
lost
they.
They
have
like
pity
points.
So
they
give
you
a
shirt,
and
I
have
a
closet
full
of
shirts
right
behind
me
that
that
kind
of
match
for
that,
so
my
mindset
joining
was
not
to
win.
A
So
I
was
thinking
okay,
let's,
let's
do
something
more
fun
right,
so
I
had
an
option
of
either
making
a
serious
project
that
I've
done
before
or
doing
something
fun
and
and
making
a
game.
So
I
kind
of
went
down
route
number
two,
making
a
game
and
for
this
project
I
wanted
to
do
two
things
number
one
know
how
to
make
a
game.
I
didn't
know
how
to
do
that.
Number
two
is
put
the
game
on
ipfs.
A
So
during
that
hackathon
those
those
were
my
two
goals.
I
was
able
to
finish
that.
Luckily,
in
time,
and
so
I
finished
the
project
and
it
is
called
ipfsfps,
this
is
a
screenshot
or
a
little
gif
explaining
what
it
does.
If
you
want
to
play
it,
you
can
join,
you
can
visit
this
link
and
give
it
a
shot.
So
what's
cool
about
this
game?
Is
this
whole
game
here
lives
on
ipfs?
A
This
gun
here
is
an
nft
and
the
leaderboard
in
the
background,
is
connected
to
an
ethereum
smart
contract.
So
there's
a
lot
of
like
crypto
elements
baked
in.
A
Let
me
go
back
to
my
regular
nine
to
five
and
you
know
just
continue
on,
but
that
wasn't
the
case,
and
that's
because
a
group
called
tachyon
reached
out
to
me
so
tachyon
was,
is
an
accelerator
program
run
by
consensus
they
reached
out
to
me,
and
they
said,
hey
leon
we'd
like
your
idea,
you
should
explore
the
space
a
bit
more
and
at
that
time
I
was
pretty
comfy,
you
know
and
where
I
was-
and
I
was
really
hesitant.
A
I
said
no
a
bunch
of
times,
but
they're
really
persistent
and
in
the
end
I
decided
to
take
a
risk
and
quit
my
job
finance
and
join
this
this
accelerator
program
and
when
I
did
it
was
a
three-month
program.
I
spent
a
lot
of
time
exploring
the
space
and
I
realized,
there's
a
lot
of
missing
infrastructure
in
this
in
this
game
world.
So
let
me
explain
so
if
you're
trying
to
build
a
game.
Sorry,
if
you're
trying
to
build
a
website,
you
have
all
the
tools
necessary,
html,
css,
javascript,
web3.js
and
ethereum.
A
A
But
the
problem
is
this
connection
right
between
the
gaming
engine
and
the
blockchain.
It's
it's
simply
not
there.
So
that
was
a
huge
opportunity
for
me
to
dive
in
and
explore.
So
for
the
last
three
months,
I
was
working
on
this
project
that
simply
fills
in
this
piece
right.
It
completes
the
tech
stack
and
it's
able
to
connect
any
game
to
the
crypto
ecosystem.
A
So
when
I
built
this
out,
I
was
able
to
have
package
everything
into
a
nice
sdk
and
right
out
the
box.
This
sdk
supports
erc20s,
721s,
1155
and
any
custom
contract
that
you
want,
such
as
that
leaderboard.
A
A
So
this
is
unity
creating
a
blank
project,
saving
it
to
my
desktop
and
the
top
right
corner
is
the
sdk
so
to
install
it.
I
simply
have
to
drag
and
drop
click
import
and
just
like
that,
I'm
connected
to
any
token
any
marketplace,
and
in
here
there's
a
subfolder
called
prefabs
which
have
these
pockets
of
functionality,
so
I
can
send
receive
and,
for
example,
get
the
balance
of
an
1155
token.
So
I
drag
it
into
the
scene.
Hit
play,
go
to
console
and
you'll
see
a
number
332.,
so
where's.
A
This
number
coming
from
it's
coming
from
an
existing
existing
marketplace
openc,
so
you
own
332.
right
in
just
a
couple:
clicks
I'm
able
to
tap
into
a
marketplace.
So
how
does
it
work
behind
the
scenes?
The
code's
quite
simple
there's
a
lot
of
complicated
stuff
behind
the
scenes,
but
I
try
to
make
it
easy
for
you
all
so
step
number
one
is
what
is
the
network
right
rinkyb,
so
I'm
getting
rinkyb
step.
Number
two
is
what
is
the
contract
to
ebe
to
ebe,
I'm
simply
copy
pasting
over
and
in
one
line.
A
I'm
connected
to
that
token,
and
I
want
to
get
the
balance
of
my
account
with
tokenid
22
token
id22
and
in
one
line
I
can
get
the
1155
balance
of
that
account.
So
this
is
a
really
small
piece
of
what
this
sdk
can
do.
It
can
send
receive
connect
to
a
lot
of
marketplaces,
but
this
isn't
really
too
much
about
the
product.
I
want
this
stock
to
be
more
more
general,
so
this
piece
here
is
only
one
of
three
that
the
startup
is
working
on.
A
Oh
so
one
of
three,
so
the
first
part
is
storage
right.
How
to
store
the
game,
so
the
game
is
stored
on
ipfs
the
whole
game
I
plan,
or
we
plan
on
implementing
new
features,
such
as
character,
storing
character,
stats
on
falcoin
number
two
is
how
to
transfer
value
right
through
through
ethereum,
with
nfts
tokens
so
and
so
forth,
with
ethereum,
we
plan
on
implementing
more
blockchains,
but
as
of
right
now
that
sdk
supports
ethereum
and
the
third
part
this
will
be
done.
A
This
is
around
90
done
by
the
way
and
it'll
be
public
in
a
couple
weeks,
so
stay
tuned.
I
have
my
contact
later
on
and
part.
Three
is
the
networking
side
of
implementing
lib
p2p,
so
the
community
here
is
amazing.
I
have
a
ton
of
support
on
this
piece
right
here.
It's
still
being
mapped
out,
but
by
having
this
it's
kind
of
the
trifecta
of
of
creating
decentralized
games,
completely
decentralized
games.
So
that's
kind
of
the
goal
of
this
this
whole
project.
A
So
to
summarize,
I
didn't
end
up
here
like
talking
to
you
guys
it's
it's
such
a
weird
journey.
Man
like
it
started
off
as
a
hackathon
project
and
it
started
off
as
just
failure
after
failure
and
then
just
one
day
deciding
let's
just
have
fun
with
it,
and
I
kind
of
snowballed
to
where
I
am
today.
So
this
talk
isn't
so
much
about
the
technical
side.
A
I
just
wanted
to
share
with
you
guys
like
more
personal
stuff,
and
I
gave
you
guys
one
piece
of
advice,
and
that
is,
if
you
have
an
idea,
just
just
go
for
it.
You
know
you
never
know
where
you're
going
to
end
up,
I'm
in
an
amazing
spot
right
now,
working
with
really
smart
people
working
on
projects
that
I
love
yeah.
I
think,
if
you
just
go
for
it
you'll
end
up
some
someplace
like
really
great.
A
So
just
to
sum
things
up,
if
you
guys
are
interested
in
the
project
or
if
you
just
want
to
chat,
here's
my
contact
on
twitter
and
in
telegram,
so
thank
you.