-
Notifications
You must be signed in to change notification settings - Fork 8
Validate NEP5 implementation against latest changes #4
Comments
Not sure the nep5 transfer call is working. I do the call and actually get back "false" in the result. Of course this assumes my setup data is correct. I can fetch the nep5 smart contract balance deployed on my private net. |
@chrismpalmer I'm spinning up a private network as I'm writing this to test the function. Strange enough I didn't get notified about this comment and just happen to stumble on it. It might be best to tag me in the future if you have a question to make sure I won't miss them. edit: I'm experiencing the same 'false' response as you report. I have not yet figured out the cause. Will look more into it the coming days (I have time tomorrow and then Saturday again). |
So this became interesting. I worked on it again today and I couldn't reproduce the I modified the homescreen code for testing as shown here What I can say at least is that I compared the output of this function
with the equivalent of neo-python and the results are identical. So if for whatever reason the RPC calls start failing again I would probably continue and double check the results of these linesneon-wallet-react-native/app/api/network/index.js Lines 227 to 230 in 2dd0193
For now I kind of have to conclude it's working because I can't reproduce it anymore. If you figure out how to reproduce it, let me know and I'd be happy to re-open and investigate further! |
Hi @ixje Thanks for being so thorough... I created a quick node js project and I can do every transaction against my privnet.... for some reason the transaction comes back but its false. You can test the rpc end point at : https://neo-privnet-rpc.ngrok.io and https://neoscan-privnet.ngrok.io. There are a few changes Attached is a quick patch of trunk. It should run enough... you can open this dummy wallet using its privateKey KzGnppHL8hfE5deorkcn25rs6sGEzHRvxd3wWnvcpRxnxc7Qi9qZ I am really at a loss... perhaps on TestNet this all works. I am running the Docker Scanner Net image? |
@chrismpalmer I would like to also connect using I tried guessing the most common used ones (10333-10336, 20332-20336, 30332-30336) but without luck. If you can provide the above information and validate that those ports are exposed to the outside world then I can give it another try. PS: I was also running a private network, so shouldn't matter. We can figure it out no worries :) |
@ixje thanks, https://github.com/CityOfZion/neo-privatenet-docker is the project my rpc node is port 30333. |
@chrismpalmer still doesn't seem to work.
where as
If you're up for it we can try to resolve it a bit more realtime using the NEO Discord. Just DM me at the same username. I'll be on for at least the next 3 hours and perhaps longer. |
@ixje you don’t need the port it’s auto mapped |
@ixje thanks for the offer I’m at a surf contest with my son I can’t get it till another day. Sounds like the plan though. |
@chrismpalmer no port for the RPC server worked! The only thing where that trick doesn't work is for connecting Wish him good luck on the contest and cheer hard! 🏄 |
@ixje ok, I can expose the p2p just have to do it when I get home |
@chrismpalmer can you also give me the contract hash of the NEP5 token you've deployed on your privatenet? thanks. |
Going to assume my Discord feedback solved the issue, haven't heard anything anymore for a week. |
@ixje Hi Erik! Left you some notes on Discord. I am really sorry I didn't get back to you quick. We just got assigned this again so I am back on it. |
The NEP5 proposal has changed since my last implementation. Validate if it's still correct and update where needed.
See changes here
The text was updated successfully, but these errors were encountered: