In this section, we will observe how
contractTX.js
and your custom TX JS file work together to build a transaction for smart contract calls.
Your custom TX js
You will need to create a custom TX file that contains the actions and arguments required to build the transaction and contract call.
An example transaction file millionTx.js (opens in a new tab) is available from the Mint a Million tutorial
contractTX.js (opens in a new tab)
contractTX.js
is a central directory of all tranasction types, which the DAOhaus transaction builder will build for. You will need to import the object from your custom TX js file here.