@acala-network/e2e

start acala local node 2. npx @acala-network/e2e simulate_liquidate_cdp

Usage no npm install needed!

<script type="module">
  import acalaNetworkE2e from 'https://cdn.skypack.dev/@acala-network/e2e';
</script>

README

e2e

Simulate CDP liquidation

  1. start acala local node
  2. npx @acala-network/e2e simulate_liquidate_cdp

default env args

process.env.WS_URL = 'ws://localhost::9944' # node endpoint
process.env.SURI = '//Alice' # sudo account

optional env args

process.env.BIDDER_ADDRESS # will give bidder 1m aUSD and 1k ACA