Skip to main content
5 events
when toggle format what by license comment
Apr 16, 2019 at 9:27 comment added Uahmed I think the best way to start would be using truffle angular box. Its not that hard truffleframework.com/boxes/angular-truffle-box
Apr 16, 2019 at 9:24 comment added dannymo I only have a bit experience in JavaScript so will stick to it :D. But thanks!
Apr 16, 2019 at 9:20 comment added Uahmed For the javascript the only way would be is to create a loop and retrieve the data. It will take time to get the data but thats the only solution for now and you can show the fetched data using angular so page will keep updating as the data arrive.
Apr 16, 2019 at 9:16 comment added dannymo I have chosen the code in the struct, because referrals are changeable, arrays not. If for example someone "loses" a referral, it's not possible to remove it from an array but I can set the "directReferrals" mapping in a way, that I set the current user to zero and put in the last record of the variable. Therefore it basically gets deleted. My biggest issue actually IS the JavaScript code.
Apr 15, 2019 at 13:41 history answered Uahmed CC BY-SA 4.0