I am working on signing and sending a transaction using web3 v1.0 and Infura.io. I have setup a script to run the TX but cannot seem to get ethereum-tx to connect in the browser.
<script src="https://email@example.com/dist/web3.min.js"></script> <script src="js/ethereum-tx.js"></script>
I dowloaded ethereum-tx.js from github and reference but keep getting the error TX is undefined.
var transaction = new TX(txData);
Does ethereum-tx not work in the browser? It works on the local machine after doing the npm install.
Here is the link to the download I am using -