oasisprotocol / oasis-web3-gateway

Web3 Gateway for the Oasis SDK EVM ParaTime module.
GNU General Public License v3.0
27 stars 14 forks source link

start.sh: Add localnet with ParaTimes to Oasis CLI #613

Closed matevz closed 1 week ago

matevz commented 3 weeks ago

The Oasis CLI is now shipped with the sapphire-localnet docker image (/oasis).

Let's configure the Oasis CLI on startup and add the following:

  1. ln -s /usr/bin/oasis /oasis
  2. oasis network add-local localnet unix:/serverdir/... -y
  3. oasis paratime add localnet ${PARATIME_NAME} 800000... --num-decimals 18 -y
  4. oasis network set-default localnet
matevz commented 1 week ago

Implemented in #614.