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

Send REGEN tokens with Keplr wallet to Registry test address #695

Closed
dtkong opened this issue Sep 28, 2021 · 7 comments · Fixed by regen-network/regen-web#779
Closed

Send REGEN tokens with Keplr wallet to Registry test address #695

dtkong opened this issue Sep 28, 2021 · 7 comments · Fixed by regen-network/regen-web#779
Assignees
Labels
dev Engineering tasks
Milestone

Comments

@dtkong
Copy link

dtkong commented Sep 28, 2021

As a buyer, I want to be able to send REGEN tokens to "purchase" ecocredits (using my Keplr wallet #670).

(We will have a separate issue for the server-side confirmation of the REGEN tokens in the test wallet + sending of appropriate ecocredits back to user's address #696)

@erikalogie erikalogie added this to the Bluebird milestone Sep 28, 2021
@erikalogie erikalogie added the dev Engineering tasks label Sep 28, 2021
@blushi blushi modified the milestones: Bluebird, Hawk Oct 12, 2021
@mhagel
Copy link

mhagel commented Oct 19, 2021

Blocked. Depends on cosmJS support for Cosmos SDK v0.44
cosmos/cosmjs#865

We could write our own solution for this, but it would probably be wasted effort, since sending ecocredits is our ultimate goal, not sending tokens.

@mhagel mhagel added blocked and removed blocked labels Oct 19, 2021
@mhagel
Copy link

mhagel commented Oct 20, 2021

unblocked. enabling CORS on the endpoint seems to have helped. Actually no CosmJs dependency.

@mhagel
Copy link

mhagel commented Oct 20, 2021

@erikalogie ready to test: https://deploy-preview-779--regen-registry.netlify.app/projects/wilmot

To test:

  • Attach Keplr wallet.
  • In a project page, click Buy Credits.
  • The credit counter widget selects how many REGEN to send to test wallet regen18hj7m3skrsrr8lfvwqh66r7zruzdvp6ylwxrx4 (as a POC)
  • click "Purchase" and confirm in Keplr
  • If successful, there will be a transaction hash alert, which can be checked in block explorer (if explorer is working) https://hambach.regen.aneka.io/

@erikalogie
Copy link
Collaborator

erikalogie commented Oct 20, 2021 via email

@blushi
Copy link
Member

blushi commented Oct 21, 2021

The explorer doesn't seem to be working unfortunately for me to be able to
confirm. @blushi any idea why the block explorer doesn't work?

We've asked the vitwit team to look into that.

One question, how does it work differently under the hood right if the user
selects "auto-retire" vs. "retire manually"?

We're just sending tokens for now (not purchasing credits) so I guess this doesn't really make any difference at the moment. Or are you asking how does it work within the ecocredit module when auto-retiring?

@mhagel
Copy link

mhagel commented Oct 21, 2021

@erikalogie
Copy link
Collaborator

erikalogie commented Oct 21, 2021 via email

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

Successfully merging a pull request may close this issue.

4 participants