truffle-plugin-topup

Truffle topup plugin

Usage no npm install needed!

<script type="module">
  import trufflePluginTopup from 'https://cdn.skypack.dev/truffle-plugin-topup';
</script>

README

Truffle plugin topup

Install

Add to your project by executing:

npm install truffle-plugin-topup

Add the following to your truffle config (truffle-config.js or truffle.js):

plugins: ['truffle-plugin-topup']

Run

truffle run ADDRESS [AMOUNT]

example:

truffle run 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 10 would topup account 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee by 10 Ether. AMOUNT is optional and defaults to 10 Ether.