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

Generate monero integrated addresses #63

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

xaviablaza
Copy link
Contributor

Description

  • Add generation of monero integrated addresses; these are addresses with a payment id attached
  • Addresses are generated on monero stagenet, but you can configure your RPC client to generate mainnet monero addresses if you'd like
  • Add monero gem available at krtschmr/monero as a dependency to access the monero RPC client

Any suggestions would be greatly appreciated.

Also spent a few bucks building infrastructure like:

  • Syncing mainnet and stagenet monero nodes
  • Hosting RPC servers for the nodes

Any donations are also highly appreciated and will be used to investigate better infrastructure to test this feature:

  • BX8: GABLAZAXRD6FYOANMBEEEOK7CXBEBSVXFWPNBGQAFKBC6DSP2CH2B62Y
  • XMR: 4BKmXgzLJueVgGxBgRjNpzbNUVwyLSQs5EMTy83AT2xHbS9k6zWu2rUJ1yfxbgnorAZFYjsKRfC9WYTBJtqrRSxZPQfmmJ1
  • XLM: GABLAZAXRD6FYOANMBEEEOK7CXBEBSVXFWPNBGQAFKBC6DSP2CH2B62Y
  • BTC: 16m4m5grBm7ZCTQbqommaWxvaFJm5TcvHB
  • ETH: 0x2ee9b4e1796c182f8c1f343418b2ee49f79e0a46

@ramontayag
Copy link
Collaborator

Cool! Will check this out when I have time! Thanks @xaviablaza

promises :monero_client

executed do |c|
RPC.config.host = ENV["XMR_HOST"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to set this up that doesn't change the global value of RPC.config? I hope to find a thread-safe version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a look at how Ethereum:HttpClient does its RPC calls and perhaps adapt its structure to the gem responsible for the monero RPC calls. Thank you for reviewing, I appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants