►
From YouTube: How To Install And Use Gateway
Description
In this video, CEO Mike has discussed the following:
1. What is Gateway?
2. Installation and Setup
3. Roadmap and Bounties
Please visit https://botcamp.hummingbot.org/ to sign up for Botcamp.
Time Stamps:
00:00 Intro
00:42 Hummingbot in 2019
1:10 Hummingbot in 2023
2:46 DEX Connectors in Hummingbot
4:28 What is Gateway?
8:52 Gateway Installation
16:48 Gateway Setup
25:05 What are Token Lists?
28:35 Running AMM-ARB Strategy
35:50 Testing with Postman
39:00 Hummingbot Roadmap
39:22 Gateway Roadmap
40:32 Connector Bounties
41:58 Learn to code DEX Strategies in Botcamp
42:26 AMA
A
Yeah
so
let's
get
started,
my
name
is
Mike
I'm,
one
of
the
co-founders
playing
on
humming
that
I'm
explaining
what
Gateway
is
then
we're
gonna
install
and
set
it
up,
try
to
get
am
ARP
strategy
going
between
a
DEX
and
a
sex,
and
then
finally,
I'll
talk
about
the
roadmap
for
for
Gateway
and
all
the
and
the
bounties
that
we
are
planning
to
kind
of
create
that
allows
Community
devs
to
earn
tokens
and,
hopefully
should
produce.
A
You
know
more
features
for
the
community
to
use
as
well
so,
okay,
so,
let's
get
into
it
first,
let
me
explain
kind
of
like
where
Gateway
sits
within
the
hummingbot
ecosystem,
because
you
know
the
Hollywood
has
actually
expanded
quite
a
lot
in
the
last
few
years,
and
and
so
the
reason
is
because
when
we
first
started
it
was
really
just
a
very
simple
Market
making
bot.
It
was
a
tool
that
you
could
just
download
and
run
really
just
Market
making
strategies
on
centralized
exchanges,
and
it
was
really
a
single
purpose.
A
Tool
really
for
just
liquidity
mining
fast
forward
four
years
and
our
ecosystem
has
expanded
dramatically.
Hummingbot
is
now
five
different,
open
source
repositories
and,
and
the
reason
is
because
it's
more
of
a
general
purpose-
Tool
we
started
adding
directional
strategies
and-
and
now
we
also
added
dashboard-
is
kind
of
like
the
the
new
thing
we're
working
on
so
basically,
the
idea
is
that
you
know
in
the
future
people
can
kind
of
like
use
Docker
to
deploy.
A
You
know
basically
any
type
of
configuration
from
very
simple
to
more
complex
and
they
can
basically
use
a
dashboard
as
like
the
entry
point
into
a
system
where
they
can
control
something
graphically
and
then
launch
Bots
and
in
these
Bots
may
or
may
not
trade
on
dexes,
but
if
they
do,
they
would
use
the
Gateway
middleware
in
order
to
kind
of
connect
and
trade
on
dexes.
A
So
so,
as
you
can
see,
Gateway
is
important
part
of
hummingbot
because
it
really
kind
of
like
allows
hummingbots
to
you,
know
trade
on
dexes,
while
also
giving
dexes
you
know
an
ability
to
add
their
own
connectors.
However,
it's
only
one
piece
of
hummingbot
and
the
role
of
the
foundation.
A
You
know
we're
here
to
kind
of
like
oversee
and
promote
the
overall
ecosystem.
That's
why
the
approach
we're
taking
now
is
much
more
based
around
Community
developer
bounties,
as
opposed
to
try
and
do
a
lot
of
engineering
ourselves,
because
it's
simply
a
better
way
to
scale
our
limited
resources
in
terms
of
the
Dex
connectors.
A
The
hummingbot
there's
really
two
types:
we
do
encourage
exchanges
where
there's
a
python
SDK
to
build
connectors
directly
into
the
home
of
my
client,
and
that's
because
some
of
these
exchanges,
like
dydx,
they
really
kind
of
like
really
optimize
to
serve
market
makers
and
Quant
trading
firms.
A
Already
so
you
know
those
firms
are,
you
know,
Python
and
C,
plus,
plus
native
and
so
they've
kind
of
designed
their
SDK
very
similar
to
that
of
a
centralized
exchange
where
it
accepts
a
similar
types
of
credentials
in
terms
of
API,
keys
and
secrets
and
exposes
similar
endpoints
in
terms
of
you
know
like
the
the
python
bindings,
the
websocket
Bindings
that
are
normal,
centralized
exchange
has
so
for
that
class
of
exchanges.
We
actually
recommend
just
building
a
connector
directly
into
the
client.
A
However,
a
lot
of
exchanges
have
a
different
model,
so
all
the
amms
are
kind
of
very
different
from
order
book
exchanges
and
a
lot
of
them
don't
have
a
python
SDK,
they're
python
or
their
JavaScript
or
typescript
only
you
know,
or
they
have
no
SDK
at
all,
in
which
case
you
have
to
kind
of
interact
directly
with
a
smart
contract.
So
for
those
types
of
exchanges,
that's
kind
of
why
we
built
Gateway,
you
know
it's
really
a
translation
layer
between
kind
of
like
these,
you
know.
Very
you
know.
A
Decentralized
exchanges
have
like
a
different
model
versus
kind
of
like
the
python.
You
know,
base
code
base,
that's
really
optimized
for
centralized
order,
book
exchanges.
That
is
the
rest
of
hummingbot.
To
summarize,
what
Gateway
really
is
it's?
It's
really
middleware
for
dexis,
it's
not
needed
for
dexes
with
python
sdks,
but
it
is
needed
for
by
dexes
that
don't
have
them.
A
It
supports
both
evm
as
well
as
non-em
VM
chains,
and
so
you
know
we
obviously
optimize
for
evm
chains
like
ethereum,
binary,
smart
chain,
polygon
and
Avalanche,
but
we
have
the
communities
added
connectors
to
near
xcc,
algorand
and
others.
We
have
five
different
kind
of
Standards.
We
try
to
support
with
varying
degrees
of
you
know,
kind
of
complexity.
The
amm
is
kind
of
the
uni
spot.
A
B2
style
am
range,
is
a
V3
style
and
then
we
also
start
to
add
newer
standards
for
kind
of
Perpetual
amms,
and
then
also
we
started
introducing
order
book,
decks,
deck
standards
for
spot
and
prep
recently
as
well.
One
thing
to
note
and
you'll
see
in
from
an
installation
setup
later
on
is
that
Gateway
is
not
a
plug
and
play
Tool,
and
that's
because
trading
on
Dex
is
is
just
very
different
from
Trading
exchanges.
A
A
You
also
have
to
take
in
account
something
called
gas,
which
is
basically
the
transaction
cost
incurred
for
getting
a
transaction
confirmed
on
the
blockchain.
You
know
those
gas
settings
depending
on
the
Chain
can
differ,
it
can
be
very
volatile
and
if
you
don't,
you
know,
get
it
correct,
you
may
end
up
having
to
cancel
a
transaction
afterwards,
which
it's
its
own
kind
of
you
know.
A
Bottleneck
of
of
weeds,
so
overall
I
would
say:
there's
a
lot
of
complexity
to
trading
indexes,
it's
kind
of
where
the
the
market
is
headed
toward
in
terms
of
like
the
The
Cutting
Edge,
you
know.
What's
going
on
crypto,
however
I
would
I
would
definitely
try
to
make
sure
you
understand.
You
know
trading
on
Central
exchanges,
first
and
and
before
you
start
building
decks
trading
Bots.
A
Finally,
I
do
want
to
point
out
I
think
that,
because
of
the
surface
area
of
the
decentralized
exchange
landscape
and
just
the
the
number
of
exchange
and
networks
out
there,
it's
really
impossible
for
us
to
support
the
entire
Market
ourselves
and
so
Gateway
kind
of
has
to
be
a
community
governed
code
base,
because
there
are
important
trade-offs
in
supporting
multiple
chains
and
dexes.
For
example,
even
now
Gateway
is
already
a
I
think,
a
five
gigabyte
darker
image.
A
The
reason
is
because
we're
importing
sdks
from
different
blockchains
and
dexes
that
are
needed
and
a
lot
of
them
have
like
lots
of
different
JavaScript
dependencies.
A
The
the
increase
in
dependencies
is
a
potential
security
Vector
for
attack.
So
you
know
the
decision,
whether
to
add
a
new
exchange
or
support
a
new
chain.
I
think
is
not
one
that
the
community
should
take
lightly.
In
addition,
as
we're
kind
of
increase,
the
number
of
dexes
we're
trying
to
support,
you
know,
there's
really
a
need
for
standardization.
You
know
the
the
simpler
standard
is
the
easier
it
is
to
add
more
types.
A
However,
you
know,
unless,
if
we're
adding
more
different,
dexes
or
different
features,
then
they
may
or
may
not
have
to
be
accounted
for.
So
there's
a
lot
of
decisions
here
and
that's
why
we
introduced
this
governance
model
where
users
can
vote,
for
which
dexes
should
be
supported,
which
Jackson
should
be
prioritized
every
quarter.
A
You
know,
and
and
I
think
that
vote
is
important
in
helping
us
from
a
foundation
perspective
not
only
allocate
our
time
and
bandwidth
and
decide
how
you
know
which
bounties
we
should
create,
but
but
I
think
it
also
improves
experience
for
everyone
using
the
code
base
to
prevent
kind
of
like
you
know,
because
if
Gateway
is
like
a
becomes
like
a
20
gigabyte
Docker
image
in
a
few
years,
because
we're
trying
to
support
all
these
different
blockchains,
then
then
is
that
really
good
of
everyone?
A
You
know,
so
those
are
kind
of
questions
that
we
want
people
to
think
about
when
they're
voting
every
quarter,
for
which
exchanges
we
should
support.
Let's
move
on
to
the
next
phase
of
the
presentation,
which
is
more
about
actually
installing
and
setting
up,
so
so
here's
what
we're
going
to
do
we're
going
to
use
the
deploy
examples,
repo
and
I'm,
going
to
show
you
how
to
set
up
using
Docker,
compose
hummingbot
and
Gateway,
and
this
is
going
to
be
much
easier.
A
We
have
all
the
instructions
in
this
deploy
examples,
GitHub
repository
here
we
have
all
the
all
the
instructions
here
in
the
readme.
Everything
here
really
relies
on
a
tool
called
Docker
compose
which
allows
you
to
pull
various
Docker
images
and
then
kind
of
launch
them
in
a
single
deployment.
So
the
first
step
is
to
get
the
stock
compose
tool.
A
So
there's
instructions
in
in
here
in
the
docker
page,
but
I've
already
have
dock
compose
so,
and
you
can
see
this
if
you've
got
to
run,
you
can
jump
into
pose,
you
should
have
it
available
on
your
command
line,
so
we're
gonna
install
this
hummingbot
Gateway
compose
example.
This
is
the
one
that
you
know
basically
just
launches
a
single
hummingbot
instance,
and
it's
linked
to
a
Gateway
instance.
So
they
can
trade
on
on
dexes.
First,
let's
clone
the
repository
to
our
machine,
and
so
we're
gonna
do
this.
A
We
already
cloned
it.
So
I'm
not
going
to
clone
it
again,
but
if
you
have
cloned
it
already
just
go
into
the
the
repository
like
this
dude
I'm
gonna
open
up
a
code
editor
and
show
you
what
what
files
are
in
this
is
the
compose
yaml
file
that
determ
that
basically
tells
Docker.
You
know
what
images
to
pull
and
how
to
configure
everything
together.
This
is
all
the
code
that
you
really
need,
because
Docker
is
going
to
take
this
code
and
then
it'll
know
it
to
to
get
the
hummingbot
image.
A
It'll
get
this
Gateway
image
tag,
it'll
kind
of
expose
the
ports
and
it'll
kind
of
Link
everything
together
and
that-
and
that
makes
the
setup
process
a
lot
easier
and
that's
kind
of
that's
kind
of
why
we
use
Docker
compose
so
now
that
we've
done
this,
we
really
just
need
to
go
and
follow
the
instructions
here.
The
next
step
is
really
just
to
run
this
command
Docker
compose
up
d.
So
let
me
go
into
the
Repository
first,
all
right.
So
let
me
go
into
the
folder.
A
I
mean
all
right
so
now
I'm
in
the
folder
and
then,
if
you
just
run
Docker
compose
up
D
that
will
basically
pull
the
images
from
from
the
dock.
Repository
and
it'll
create
these
two
containers
on
your
system.
We
recommend
running
this
locally
first
before
you
run
this
in
the
cloud.
A
A
So
one
thing
to
note
is
that
if
you
look
at
your
code
editor
do
you
have
two
kind
of
like
folders
created,
one
called
Gateway
files
and
one
called
hummingbot
files,
and
you
have
some
subfolders
in
these
two
folders,
so
these
folders
are
mapped
to
folders
in
your
Docker
images.
You
know:
that's
why,
when
you,
when
you
kind
of
like
add
your
configurations
when
you
add
your
scripts,
your
logs
for
your
your
your
Bots
they'll,
all
show
up
here,
so
we
need
to
do
some
initialization
in
order
to
get
the
right
permission.
A
A
The
next
step
is
to
populate
the
on
my
scripts
folder
with
example,
scripts.
So
this
will
basically
pull
some
sample
scripts
from
the
image
and
it'll
store
them
in
your
local
copy
of
the
scripts
folder.
This
will
give
you
a
few
sample
scripts
to
start
with,
and
then
we're
also
going
to
populate
the
the
Gateway
list,
folder
with
the
the
the
Gateway
token
lists.
A
This
is
a
new
feature
we
just
recently
added
because
one
of
the
things
that
people
told
us
they
needed
to
do
was
to
edit
and
add
the
tokens
to
their
lists.
So
now
now
these
lists
are
now
they
allow
them
to
live
in
the
conf
directory
in
your
gateway
files,
folder,
which
should
allow
users
to
add
and
edit
those
tokens
more
easily.
A
So
now
now
that
we
can
do
this
now,
we've
now
in
the
next
step
is
just
attaching
attach
coming
by,
because
you've
already
started
your
containers
and
now
you
can
attach
them
to
to
run
them.
So
this
this
is
first
time
essentially
that
your
launching
hummingbot
so
It'll
ask
for
your
password
I.
Just
don't
just
put
an
a
here
just
to
you
know
for
demo
purposes,
but
we
do
encourage
you
to
set
a
strong
password
when
you're
you
know
running
it
for
real.
A
Okay,
so
the
by
default
humbot
is
not
linked
to
Gateway,
you
kind
of
have
to
basically
link
it
link
it
afterwards.
So
that's
why
the
first
thing
you
should
do
is
to
run
this
Gateway
generate
Search
Command.
A
And
then
you
can
use
the
same
passphrase
as
the
one
that
you
use
for
hummingbot
or
a
different
one.
I
just
do
the
same
one
here,
which
is
also
a
and
so
you'll
see
a
message
that
says:
Gateway
SSL
certificates
are
created
in
the
slash
home,
slash
home,
slash
source,
so
this
folder
is
is,
is
this
is
the
location
in
the
darker
image,
because
it's
native
to
the
image,
but
this
this
location
is
bound
to
the
search
folder
in
your
honeybot
files
folder.
A
So
now,
now,
after
you've
done
you've
done
this,
you
can
just
type
exit
and
leave
the
client.
A
So
now
that
you're
back
in
terminal,
you
should
actually
take
the
composed
Network
down
and
that's
because
we're
going
to
make
some
changes
to
the
yaml
file
and
now
we're
going
to
go
back
to
this
compose
file,
and
we
can
now
edit
out,
we'll
basically
set
the
in
the
password
that
we
use
to
define
hummingbot
as
environment
variable,
and
this
will
allow
us
to
skip
entering
the
password
when
we
actually
launch
the
client
next
time.
The
next
thing
we'll
do
is
we'll
also
enter
in
the
scaled
passphrase.
A
This
is
a
passphrase
that
we
use
to.
You
know,
create
the
certificates
when
we
generated
them
earlier
for
for
Gateway,
so
I
also
use
the
same
pass
password
there.
Then
the
next
step
is
simply
to
relaunch
the
network
again
Docker
compose
up
Dash
D,
and
this
will
basically
relaunch
the
compose
Network
and
apply
the
the
new
passphrase
and
the
password
settings
earlier.
So
now,
if
you
do
Docker
attached
hummingbot,
we
should
see
that
Docker
is
already
online
or
honeybot
is
launched
and-
and
yes
we
can
see-
the
Gateway
is
already
online
here.
A
So
this
should
mean
a
Gateway
is
already
connected
to
hummingbot.
We
can
test
this
by
running
the
Gateway
test
connection
command.
One
thing
to
note
is
we
should
also
open
up
a
separate
terminal
window
and
also
attach
the
Gateway
instance.
This
will
allow
us
to
see
what's
what's
happening
with
a
node
and
any
responses
that
it's
going
to
give
will
show
up
over
here.
A
So
now
we're
kind
of
finished
with
this
installation
process,
but
this
is
probably
just
step
one
now
we
should
actually
go
and
configure
the
connection
Gateway
as
I
mentioned
earlier.
It's
Gateway
is
not
quite
Plug
and
Play,
yet
the
first
thing
we're
going
to
do
is
we're
gonna,
we're
gonna,
connect,
a
wallet
and
then
we're
going
to
configure
the
the
network
chain
settings
on
that
wallet,
as
well
as
the
node
itself.
A
So
the
the
one
thing
to
note
is
that
you
can
always
type
the
Gateway
Dash
H
command
in
order
to
get
help
and
see
what
commands
are
available
over
here
on
on
the
Gateway
side,
I'll
actually
increase
the
size
of
the
screen
a
bit
more.
You
can
also
use
Ctrl
T
to
maybe
collect
to
remove
the
the
the
the
basically
the
log
pane.
A
If
you
want
and
see
the
text
bit
more
clearly,
so
we're
going
to
connect
a
connect,
a
DEX
so
use,
you
should
use
a
connect
command,
and
this
basically
gives
you
the
list
of
exchanges
that
are
available
to
connect
to
these
are
all
the
dexes
supported
by
Gateway
and
so
I'll
just
use
uni
swap
since
that's
probably
the
most
popular
decks
out
there.
So
this
asks
you
what
chains
you
want
us
to
connect
to
ethereum
or
polygon.
These
are
the
chains
and
sports
right
now.
A
So
I'll
use
ethereum
and,
and
then
after
you,
you
pick
the
blockchain.
You
also
take
the
network.
A
So
on
ethereum
you
know
so
ethereum
mainnet
is
the
the
main
one
is
also
the
most
expensive,
so
we
actually
find
that
most
people
are
running
bots
on
on
arbitrum
optimism
or
or
polygon,
typically
on
uni
swap
so
I'm
gonna
actually
use
arbitrum,
because
I
have
a
wallet
there
and
this
question
which
we'll
get
to
later
on
is
whether
you
want
to
use
the
default
node
URL,
which
is
quite
important,
because
this
is
really
your
your
entry
point
to
the
blockchain,
how
you're
going
to
send
all
the
transactions
and
so
which
node
you
use
whether
it's
a
public
one
like
anchor
or
maybe
maybe
something
like
inferior
or
Alchemy-
actually
matters
quite
a
lot,
but
right
now,
let's
just
use
the
default
node
provider
and
then
finally,
oh
asking
for
my
my
key
here
and
so
now
after
I
enter
the
private
key.
A
It
says
the
unit
swap
connector
is
now
uses
this
wallet.
This
is
the
public
address
on
ethereum
Arboretum
one.
So
this
means
that
when
I
run
a
strategy
on
on
uni
swap
on
on
arbitrum
on
Arboretum,
then
it's
going
to
use
that
wallet
by
default.
So
to
check
this,
we
can
see
the
bounce
command.
We
can.
We
actually
check
our
eth
balance
here,
we've
actually
successfully
added
a
wallet.
We
should
also
try
to
configure
the
actual
connection
to
to
the
actual
chain
itself,
so
you
can
use
the
Gateway
config
command
for
this.
A
This
will
basically
show
you
all
the
the
the
the
configuration
saved
in
in
these
configuration
files.
So
there
are
configuration
files
for
each
chain
as
well
as
for
each
each
each
each
decks.
So
let's
actually
look
at
the
ethereum
configuration
first
and
understand
what
you're
setting
here
for
ethereum.
You
should
not
change
chain
ID,
because
that's
the
network
identifier,
but
you
can
change
the
node
URL.
You
can
change
the
token
list,
type,
whether
it's
file
or
URL
The
tokenless
Source.
A
This
is
where
kind
of
maps
the
addresses
on
the
blockchain
to
actual
token
symbols.
You
can
also
change
the
the
gas
price
refresh
interval
native
currency
and,
most
importantly,
you
can
change
the
gas
limit,
transaction
and
manual
gas
price,
we've
kind
of
modeled
everything
and
really
optimize
everything
for
ethereum.
A
However,
if
you're
trading
on
polygon
or
Avalanche
or
buying
smart
chain
make
sure
you
know
what
the
right
gas
settings
are
for
this
particular
chain,
because
if
you
want
to
change,
let's
say,
let's
say:
I
want
to
change
the
the
the
manual
gas
price
for
ethereum.
You
can
just
basically
do
like
this,
where
you
say:
config,
ethereum
I,
make
that
let's
say
35
instead
of
30.
A
and
and
so
it's
an
update
and
then
it's
also
going
to
start
and
basically,
if
it
detects
a
change
to
Gateway
it
will,
it
will
basically
stop
it
and
restart
it
again
to
apply
those
those
changes.
And
so
then,
if
you
run
configure
theorem
again,
you
can
see
that
the
gas
price
has
been
changed.
35.
for
ethereum
will
automatically
fetch
the
gas
price
from
the
node.
A
Other
chains
may
not
have
a
capacity,
that's
kind
of
why
this
manual
gas
price
is
used
and
then
for
gas
limit
transmission,
because
the
Gateway
uses
a
different
number
to
estimate
what
the
gas
is.
So
there's
a
gas
limit
estimate
which
is
set
at
the
Dex
level
and
then
there's
a
gas
limit
transmission,
which
is
kind
of
a
blanket
gas
limit
that
I've
used
every
transaction
to
try
to
make
sure
that
the
transaction
actually
goes
through.
A
So
this
means
that
you
do
need
a
certain
minimum
balance
of
native
tokens
in
your
wallet
to
pay
for
gas,
and
so
so
yeah
if
you
run
to
Gap.
Basically,
if
you
run
into
lots
of
kind
of
like
transaction
issues,
look
at
your
gas
settings
there's
a
question
which
is
what
exactly
does
a
manual
gas
price?
Do?
Does
that
mean
that
every
gas
Foundation
you
ethereum,
International
cement
uses
33
wave
regardless
of
Network
business?
A
This
is
a
great
question,
so
no
it
doesn't
actually
and
the
reason
is
because
the
on
ethereum
mainnet
and
ethereum
mainnet,
it
uses
the
gas
estimate
from
a
node
to
determine
what
the
gas
is.
So
it's
basically
more
intelligent
gas
way
of
doing
that.
However,
not
all
chains
have
that
capacity.
So
so,
basically
this
depends
on
the
network,
because
just
because
ethereum
has
something
doesn't
mean
all
the
other
chains.
A
They're
all
also
even
compatible
have
it,
and
so,
for
instance,
arbitrum
I
think
they
they
don't
have
a
concept
of
gas,
so
they
kind
of
like
basically
assume
that
every
transaction
has
0.1
gas.
However,
polygon
on
polygon,
you
actually
do
need
to
change
the
gas.
So
one
thing
we
had
to
do
recently
was
we
updated
the
the
gas
from
polygon
I
think
before
it
was
like
100.
We
made
this
400
now
because
polygon
I
think
has.
A
If
you
look
at
like
polygon
gas,
his
history,
it's
actually
gone
up
quite
a
lot,
I
believe
when
we
first
said
this.
You
know
it
was
like
100.
It
was
like
around
here,
but
in
the
last
few
few
months,
it's
now
above
like
300.,
so
so
that's
kind
of
why
we
set
this
to
400
now,
but
in
the
past
few
months
before
we
made
this
change,
we
had
a
lot
of
people
who
were
trying
to
run
polygon
Bots
out
of
the
box
and
having
gas
related
issues.
A
I
wish
we
could
cover
all
the
chains
out
there.
It's
just
there's
so
many
networks,
so
we
really
try
to
optimize
more
for
ethereum
than
for
anything
else.
The
third
most
important
thing
from
setup
is
the
node
is
a
node
provider.
So
by
default
we
use
anchor
because
anchor.
They
have
broad
coverage
across
different
chains
and
they
offer
public
endpoints.
They
don't
require
you
to
have
a
dedicated,
API
key.
However,
we
have
found
that
people
have
had
lots
of
issues.
A
You
know
with
like
speed,
and
so,
if
you
use
alchemy
or
inferior,
you
do,
you
will
likely
see
a
a
speed,
a
speed
difference
so,
for
instance,
I'm
actually
going
to
use
my
Alchemy
key
for
for
for
arbitrum,
because
I
think
that
it
might
be
a
bit
faster.
So
let
me
let
me
show
you
how
to
add
that,
and
so
basically
what
you
want
to
change
is
this
node
URL
here
so
by
default,
it's
the
this.
A
This
public
anchor
arbitrum
node,
which
works,
but
because
it's
a
public
node
it
may
be
unreliable
at
times,
and
so
you
can.
Basically,
if
you
have
a
separate
node
like
my
Alchemy
node
here,
you
can
just
kind
of
do
this
and
then
and
then
this
will
again
stop
and
restart
Gateway
and
after
Gateway
is
online
again,
then
you
can
basically
see
that
announced
using
this
Alchemy
node.
A
Instead,
before
you
run
a
strategy,
you,
you
should
also
understand
the
concept
of
tokens
and
how
to
work
with
tokens
within
gate
within
hummingbot
and
also
with
a
hummingbot.
So
token
lists
are
what
blockchains
use
to
map
a
list
of
addresses.
A
All
the
addresses
to
what
a
token
is,
because
anyone
can
create
a
token
you
may
have
duplicates
so
you'll
you'll,
often
see
kind
of
like
you
know,
there's
lots
of
tokens
with
the
symbol
uscc,
because
you
know
there's
lots
of
clones
out
there,
but
there's
only
one
canonical
example
of
uscc
on
every
Network,
and
so
it's
really
important
to
make
sure
that
you're
trading
like
the
right,
the
right
you
know
address
and
not
fake
scan
token
out
there.
So
we
used
to
use
a
URL
for
this.
A
We
used
to
kind
of
like
refer
to
URLs,
but
we
found
that
because
of
network.
You
know
we
added
like
a
network
dependency.
So
now
what
we
do
is,
we
add,
default
token
lists
file
for
every
Network
and
then
you
can
modify
that
file.
This
Con
folder.
If
you
did
the
copy
command
correctly,
you
should
see
a
list
folder
here
where
it
has
different
lists
for
every
chain,
and
this
has
already
been
mapped
and
hung
up
where
it
says:
slash
home,
Dash,
Gateway,
conflag
list.
This
location
is
the
same
one
that
you
have
here.
A
So
if
you
add
a
token,
let's
say
to
the
arbitrum
Token
list,
let's
say
you
have
your
own
token.
You
can
just
kind
of
like
copy.
This
add
a
new
object
here
in
this
file,
and
then
you,
when,
if
you
exit
Halloween
bot
duct
composed
down
duck,
holds
up
again,
then
you
can
access
those
new
tokens
in
that
new
list.
You
also
may
have
to
approve
tokens,
because
the
way
they're
currently
coming
up
right
now
is
that,
in
order
to
run
a
strategy
or
script,
it
checks.
A
If
you
have
those
tokens
approved,
we
do
have
a
method
for
you
to
help.
You
approve
tokens
which
is
approved
tokens,
for
instance,
if
you
want
proof
tokens
on
uni
swap
you
can
just
kind
of
do
like
this.
I
want
to
improve
the
let's
say:
uscc
extend
transaction
and
then
it'll
pull
for
that
transaction.
If
you
run
a
strategy-
and
you
see
lots
of
you
know
waiting
for
approval,
you
know
messages
is
likely
because
the
tokens
you're
trying
to
trade
are
not
yet
approved.
A
Finally,
one
other
gotcha
that
people
have
had
issues
with
is
wrapping
tokens.
What
you
actually
need
to
trade
with
is
wrapped,
ethereum
and
and
that's
because
ethereum
itself
is
not
an
erc20
token.
So
even
when
you're
trading
on
uni
swap
or
dexes
they're
they're
actually
wrapping
the
ethereum
before
you
behind
the
scenes
with
hummingbot,
you
know
we
we
try
to
not
kind
of
like
hide
anything
from
the
user
before
you
can.
Actually
trade
actually
send
it.
A
One
helpful
command
in
Gateway
is
the
connector
tokens
command,
which
shows
you
how
to
what
your
balances
are
so
I'm
going
to
add
weth
as
well
as
uscc,
and
now,
if
I
do
this,
it'll
report
to
I
have
uscc
and
web,
so
I
actually
have
a
lot
of
ether,
so
I'm
actually
going
to
try
to
wrap
a
bit
of
Eve,
let's
say
say:
maybe
0.1
if
normally
I
would
definitely
recommend
doing
so
on
arbitrum
or
polygon,
where
gas
is
a
lot
cheaper.
A
So
right
now
it's
about
10
cents.
For
this
transaction,
so
now
that
we've,
you
know,
learned
how
to
configure
tokens
and
setting
up
the
connection
I
think
we're
finally
ready
to
run
the
am
ARB
strategy
so
before
we
do
that.
Let
me
also
add
my
kucoin
credentials
here.
A
So
now
it's
pulling
my
assets
on
on
kucoin,
as
well
as
on
on
uni,
swap
if
you're
wondering
why
zero
here,
the
reason
is
because
my
rate
Oracle
source
is
set
to
binance
right
now,
I'm,
not
in
a
region.
That's
not
you
know
available
to
binance,
which
is
why
it's
not
showing
up.
However,
I
can
change
that
by
changing
the
rate
Oracle
source
to
coin
gecko
or
kucoin,
you
know,
and
if
I
do,
that
it
should
show
up.
A
So
so
apologies
for
the
errors
here,
normally
I
run
this
under
VPN
or
something
like
that
to
show
you
know
what
the
experience
is
like
for
someone
outside
the
US,
but
but
today,
because
as
some
technical
issues
with
Discord
I'm
doing
it,
this
way
so
I
think
we're
actually
ready
to
run
our
aim
ARP
strategy.
A
So,
let's
set
it
up
with
these
parameters
here,
so
I
would
use
a
create
command
to
create
a
strategy
and
then
start
the
ammar
strategy
and
then
the
first
kind
I
I
always
like
to
pick
the
decks
as
the
first
connector
to
make
sure
that
you
know
the
transaction
excuse
there
before
doing
so
on
the
French
wire
side,
and
so
yes,
I
will
just
use
this
as
the
trading
pair
and
then
the
second
one
I'll
use
kucoin
if
your
CT
0
1
to
start
off
with
and
then
I'll
just
use
one
percent
profitability.
A
Okay,
after
you
kind
of
like
set
the
initial
configuration,
you
can
run
config
to
see
the
the
actual
strategy
configuration
commands.
So
these
are
the
ones
that
you've
set
hit
start.
So
the
first
thing
you're
going
to
do
is
gonna.
It's
gonna
kind
of
like
look
at.
What
we
need
to
do
is
configure
the
rate
Oracle
source,
so
I'm
actually
going
to
use
kucoin
for
this.
Okay.
Now
it's
actually
using
kucoin
as
radical.
So
now,
I
can
get
this
quote
rate
calculate
the
Arbitrage.
A
Because
if
it
were,
you
know,
making
money
would
be
very
easy,
but
but
the
the
reality
is
that
for
for
larger
pairs
like
West
uscc,
these
are
not
going
to
be
easy
ones
to
do
unless
you're
doing
so
on
kind
of,
like
very
you
know,
like
long
tail
networks
or
between,
like
a
very
small
small,
centralized
exchanges,
this
type
of
Arbitrage
trade,
it's
about
kind
of
like
finding
the
right
corridors
which
you
know
might
be
between
different
token
pairs
between
different
exchanges
or
between
different
chains.
A
So
so
one
thing
you
can
play
around
with
this:
if
you
want
to
kind
of
get
it
to
work,
is
set
the
Min
profitability
a
lot
lower.
Let's
try
setting
that
to
negative
five
to
trigger
smash
all
trades
Let's.
Let's,
let's
see
in
the
meantime,
there's
also
a
question
from
Bluefish
for
the
ammr
strategy
to
work.
Does
both
the
amm
and
the
sex
need
to
have
the
exact
trading
pair
available
or
in
case
the
pair
is
missing
from
the
decks?
A
Is
a
strategy
able
to
Route
the
trade
through
several
trading
pairs
like
the
uni
swap
interface?
Does
behind
the
scenes
great
question?
No,
you
actually
do
need
to
have
ahead
of
time,
so
I
might
just
stop
the
spot.
Let
me
actually
address
what
actually
happened
here
in
the
bot
first
and
I'll
answer
the
question.
Just
now,
we
set
the
Min
profitability
to
negative
five.
If
you
recall
both
the
Arbitrage
profit
level
on
both
legs
was
negative,
one
1.5,
and
so
what
that
means
is
that
both
legs,
both
the
buy
sell.
A
You
know
Buy
on
uni,
swap
selling
kucoin,
as
well
as
the
selling
uni
swap
buying
kucoin
likes
to
try
to
execute
I
would
actually
recommend
doing
this
kind
of
test,
with
a
small
amount
of
real
Capital,
just
to
make
sure
that
you
can
actually
successfully
execute
these
clinicians.
You
know
through
your
connection
properly,
because
a
lot
of
the
work
in
getting
Dex
Bots
to
run
properly
is
really
can
I
actually
execute
this
connection
on
this
chain.
You
know
when
I
expect
it
to
do
so
in
terms
of
History.
A
Let's
see
three
trades
on
kucoin
two
trades
on
Unison
I.
Think
it's
because
I
stopped
it
like
right
as
it
was
doing
something
we
lost
a
bit
of
money
here
because
of
of
gas.
I
think
this
is
kind
of,
like
you
know
the
complexity
of
getting
trans
to
work
on
the
decks.
So
now
let
me
take
bluetooth's
question.
Basically
what
Bluetooth
is
asking
is
when
you're
doing
this
do
we
do
you
need
to
have
the
same
trading
pair
available
or
or
not?
A
The
answer
is
no
because,
whatever
trading
pair
you
give
it,
it
will
actually
try
to
do
the
trade
now
from
the
debts
perspective.
It
does
try
to
Route
the
trade.
However,
that
routing
is
likely
a
reason
why
the
Unison
connector
is
slow
right.
A
Now,
there's
there's
a
bounty
open
for
someone
to
convert
the
the
uni
swap
side
so
that
it
it
gives
you
the
option
of
just
you
know
getting
the
price
for
that
one
route
without
kind
of
routing
to
all
different
pools
and
and
I
think
we'll
actually
significantly
improve
the
speed
on
the
on
the
uni
swap
side,
we're
only
going
to
trade.
A
What
you
tell
us
to
trade,
so
the
these
symbols
you
put
here
are
the
ones
that
basically
Define
the
market
that
we
look
for,
and
we
try
to
trade
on
the
the
routing
side.
I
think
we'll
keep
the
routing
option
in
for
uni
swap.
We
believe
that
users
likely
will
not
want
to
use
the
router
on
uni
swap
if
they're
trying
to
do
Arbitrage,
because
the
latency
is
going
to
make
Arbitrage
harder
in
terms
of
the
translation
between
different
tokens.
This
is
really
where
the
rate
Oracle
comes
in,
so
the
ray
Oracle.
A
What
it's
doing
is
is
using
this.
The
price
Source,
whether
it's
coin,
gecko
or
or
exchange
to
make
conversion
between
weft
and
F
and
between
usct
and
uscc
yeah
I,
would
create
a
bounty
for
someone
to
kind
of
like
Define
a
fixed
rate
conversion.
I
hope
that
answers
the
question,
but
overall
I
think
a
lot
of
the
art
in
doing
sex
sex
Arbitrage
is
in
kind
of
like
identifying
basic
correlations
between
tokens
of
different.
A
You
know
ones
that
maybe
one's
a
stable
coin,
it's
some
weird
stable
coin
and
arbitraging
that
one
weird
stable
coin
versus
like
usct
on
some,
some
like
small
Central
exchange
and
just
picking
up
like
you
know,
you
know
ten
five,
ten
dollars
Arbitrage
every
every
day.
A
You
know
that
that's
kind
of
what
I
would
look
for
in
terms
of
opportunity,
because
I
think
I
suspect,
there's
many
overcharge
opportunities
like
this
they're,
just
too
small
for
a
quad
trading
firm
to
invest
your
time
into,
because
if
you
think
about
what
it
takes
to
actually
capitalize
on
Arbitrage,
you
basically
have
to
have
to
have
assets.
You
know
somewhere
or
be
able
to
borrow
them
in
order
to
actually
capture
the
Arbitrage
when
their
opportunity
Rises
one
last
thing.
A
A
Even
when
I
was
doing
this
demo
last
night,
there's
the
problem
with
arbitrum
I
couldn't
get
transactions
confirmed
for
some
reason
and
I
did
lots
of
debugging
I
still
don't
know
what
happened
it's
working
this
morning
and
I
suspect
it
was
actually
something
to
do
with
the
chain
but
anyway,
so
so
overall,
I
strongly
recommend
that
if
you're
going
to
kind
of
use
a
Gateway
like
this,
you
also
use
in
conjunction
Postman,
so
Postman
allows
you
to
interact
with
Gateway
independently
and
not
just
use
a
hummingbot
for
it.
Because
then
you
can
see
debug.
A
It
was
an
issue
with
the
hummingbot
side
or
with
the
the
Gateway
side.
So
let
me
show
you
how
to
set
up
Postman
Postman
looks
like
this.
You
can
it's
an
application
that
you
download.
We
have
a
collection
called
Gateway
API.
This
collection
is
in
the
Gateway
repo.
So
if
you,
if
you
install
Postman,
you
import
the
collection
and
the
environment
that
we
have
you'll,
you'll
kind
of
like
see,
you
can
start
using
basically
the
the
apis
right
off
the
bat
in
terms
of
setup.
There's
this
certificates
area.
A
This
corresponds
to
these
certificates
that
you
have
in
the
certs
folder
here
and
they
hung
out
files
folder.
This
is
a
folder
where
you
know
your
scripts,
your
strategies,
everything
are
saved.
So,
for
example,
the
strategy
we
just
created
the
amr1
strategy
file
is
located
in
the
strategies
folder.
A
There
is
also
the
search
folder
here.
The
Source
folder
has
the
files
that
you
need
to
plug
into
Postman
I
added
this
casert.pen
file,
which
is
from
here
and
then
I
also
added
client
certificates.
So
I
said
the
localhost
1588
is
the
port
and
then
I
also
added
this.
This
client
search
pem
and
the
client
key
pem
and
the
passphrase
that
I
used
earlier
from
Gateway.
So
there
are
instructions
on
our
docs
on
how
to
set
this
up
properly,
but
overall
I
think,
if
you've
already
kind
of
done
this
step.
A
You've
already,
you
know
linked
your
gateway
and
your
hummingbot
I
would
strongly
recommend
downloading
Postman.
You
know
adding
the
certs
and
that
allows
you
to
kind
of
like
just
interact
with
a
separately
I've
already
done
this
earlier.
So
I
can
see.
You
know
which
networks
I
have
I
can
see
what
wallets,
I've
added
to
and
I
can
also
add
and
remove
wallets
directly
in
here.
A
You
can
also
check
you
know
what
allowances,
for
example,
you
have
for
a
particular
chain,
so
overall
I
highly
recommend
using
Postman
if
you're
going
to
be
using
Gateway
because
it'll
allow
you
to
have
much
more
direct
relationship
and
understand
what
the
configuration
you
have
to
really
do.
So,
let's
wrap
up
presentation
for
today
I
did
want
to
cover
one
last
section.
What
we're
doing
with
Gateway
going
forward
Gateway
is
one
component
of
our
overall
roadmap.
A
The
bulk
of
a
roadmap
is
really
focused
on
promoting
the
overall
ecosystem
for
hummingbot,
especially
the
dashboard,
which
we
really
think
will
be
the
control
center
for
hummingbot.
But
there
are
a
few
Gateway
items
on
the
roadmap
three
in
particular,
we
want
to
really
improve
the
first
time
user
experience.
So,
for
example,
you
know
getting
the
status
of
Gateway,
you
know
getting
the
balances.
A
You
know
you
know,
which
is
right
now
kind
of
like
kind
of
not
not
very
a
good
figure
out
the
approval
status
of
a
token
and
also
doing
utility
functions
like
wrapping
a
token
that'll
make
lives
a
lot
easier
for
people
who
are
trying
to
use
Gateway.
The
second
thing
we're
going
to
do
is
we're
really
going
to
try
to
improve
the
amm
ARB
strategy.
There's
already
been
a
couple
bounties
that
are
created
for
that
we
have
seen.
A
People
have
success
with
am
ARB
once
they've
had
set
up
correctly,
giving
that
strategy
more
options,
improving
the
uni
swap
connector
in
particular,
and
then
finally,
the
third
one
is
we're
going
to
try
to
really
improve
the
uni
swap
V3
LP
strategy
kind
of
allow
people
to
kind
of
programmatically
manage
their
positions
on
on
various
dexes,
because
Gateway
is
hard
for
us
to
devote
all
of
our
energy
to
it.
But
we
do
recognize
it's
an
important
strategic
element
of
where
the
market
is
going.
A
So
we
want
to
try
to
make
sure
that
we
can
add
support,
for
that
really
makes
us
a
bounties
driven
process
happening
right
now,
so
we've
already
assigned
one
bounty
to
really
speed
up
the
union
swap
connector
by
removed
by
adding
the
non-router
option.
There's
someone
working
on
the
balancer
connector
right
now,
as
well
as
a
connector
to
the
Ripple
decks
and
the
Ripple
chain.
A
We
also
have
some
open
and
proposed
connectors,
so
there's
a
curve
Bounty
that
was
created
last
year
that
we're
still
open
that
we
have
that
I
think
people,
some
people
we're
looking
for
developer,
take
up
team,
that's
interested
in
in
building
and
upgrading
the
pancake
V3
connector.
A
So
that's
been
a
pretty
common
request
from
the
community,
so
we'll
probably
help
them
get
an
HIV
created
for
that
one
and
finally,
I
believe
coin
Alpha
is
going
to
to
submit
a
Improvement
to
the
Trader
Joe
connector,
pretty
soon,
because
they're
working
with
Trader
Joe
on
D
Minor
campaigns.
A
So
thanks
for
sticking
with
this
one,
I
I
really
wanted
to
just
you
know,
create
a
demo
that
shows
people
how
the
how
to
use
the
current
state
of
Gateway
I
know
it's
not.
A
You
know
it's
user
friendly
as
we
all
like
it
to
be,
but
it's
I
think
it's
better
than
it
was
and
I
think
that,
with
you
know
the
help
of
everyone
from
the
community
and
our
bounty
system
I
think
we
can
definitely
improve
you
know
and
make
it
work
for
for
everyone
in
the
coming
months.
A
Finally,
we
are
going
to
start
a
new
cohort
of
Bot
camp
in
about
two
weeks,
we're
going
to
add
a
new
module.
That's
focused
on
creating
Dex
strategies
in
particular,
so
if
you're
interested
in
signing
up,
please
yeah
like
I,
think
this
is
botcamp.homebot.org
and
yeah.
Let
us
know
on
Discord
if
you
have
any
questions
about
how
bot
Camp
works,
yeah
momento
asks
not
related,
but
any
comments
on
the
SEC
having
kind
of
gone
through
our
own
issues
with
the
SEC
a
few
years
ago.
A
You
guys
don't
know
what
I'm
talking
about
you
know:
Google
the
the
hummingbot
origin
story,
blog
post,
having
gone
through
that
I
think
we
hummingbot
have
maybe
maybe
some
lucky
but
I-
think
we've
kind
of
tried
to
purposely
design
our
whole
our
whole
project,
so
that
we're
just
Building,
open
source
software
and
and
the
reason
is
because,
at
least
for
now
software
you
know
essentially
open
Source
trading
tools
are
just
not
a
regulated
aspect
of
the
system.
A
You
know,
however,
what
we
learned
is
that
if
you
try
to
create,
you
know
something
that
looks
like
an
exchange,
a
fund,
a
bank,
basically
anything
that
is
taking
people's
money
and
storing
it.
Then
then
you
gotta,
like
you,
know,
register
with
a
cc
or
you
gotta
like
leave
the
US.
You
got
to
do
all
kinds
of
like
really
complicated
things
that
whole
experience
is
kind
of
why
we
are
just
creating
open
source
software
and
trying
to
create
a
non-profit
organization
just
getting
people
to
just
use
their
software
hard.
A
But
from
a
legal
standpoint,
it
just
made
things
a
lot
easier
because
taking
custody
of
funds
and
then
creating
regulated
entities
like
Banks
and
exchanges.
A
You
know,
even
if
you're
doing
something
with
code
it
it
puts
you
in
a
in
just
a
more
complicated
position
as
a
Founder
and
as
an
organization,
and
so
overall
I
would
say
say
you
know,
for
us,
like
I'm,
really
happy
that
someone
said
we
have
to
worry
about
that,
because
we
can
just
create
software,
create
education
and
and
make
that
a
sustainable
Venture
for
ourselves
and
for
your
community
and
how
people
use
our
tools,
how
people
use
the
the
open
source
stuff
we
create
it's
up
to
them.
A
You
know
and
we
we
want
everyone
to
respect
and
follow
the
laws
of
their
local
jurisdiction.
But
it's
not
up
to
us
it's
up
to
the
users.
So
all
right
thanks
everyone
for
all
your
time
today,
I'll
be
back
in
another
couple
weeks
with
a
community
call
with
a
demo
a
new
potential
Community
Connector
from
the
community
team
on
I,
think
kajira,
for
which
the
cosmos,
Dex
connector,
see
you
next
time
feel
free
to
reach
out.
On
Discord
and
never
else,
bye,
everyone.