Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add RPC method to validate address #733

Closed
vladyslavstartsev opened this Issue Feb 13, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@vladyslavstartsev
Copy link

vladyslavstartsev commented Feb 13, 2019

Can you please add method to validate public address is right by RPC call.
I mean all the the address that I will give the node should pass all the rules of address.
Similar to
BTC http://chainquery.com/bitcoin-api/validateaddress
WAVES https://nodes.wavesplatform.com/api-docs/index.html#!/addresses/validate_2
NEO https://github.com/neo-project/docs/blob/master/en-us/node/cli/2.9.3/api/validateaddress.md

@zpalmtree

This comment has been minimized.

Copy link
Collaborator

zpalmtree commented Feb 13, 2019

This would be very easy to add to wallet-api, just need to expose https://github.com/turtlecoin/turtlecoin/blob/development/src/Errors/ValidateParameters.cpp#L280

Probably want to add a parameter to configure whether integrated addresses are allowed, or add that to the response data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.