This makes the changes you recommended with BigNumber. Let me know if I am doing the wrappings incorrectly.
So for our next DApp, we can just go with this same pattern from the get go yeah? Every number that is coming from or going to the smart contract should be treated as a uint in the contract, a string everywhere in our app, and then wrapped in a BigNumber any place in our app we need to operate on that number.
This makes the changes you recommended with BigNumber. Let me know if I am doing the wrappings incorrectly.
So for our next DApp, we can just go with this same pattern from the get go yeah? Every number that is coming from or going to the smart contract should be treated as a uint in the contract, a string everywhere in our app, and then wrapped in a BigNumber any place in our app we need to operate on that number.