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

Pi/register stake #8

Merged
merged 7 commits into from
Sep 18, 2021
Merged

Pi/register stake #8

merged 7 commits into from
Sep 18, 2021

Conversation

Quantumplation
Copy link
Member

Does a couple of things:

  • Adds a script to register the stake pool on startup
  • Generates the delegation certificate when creating a wallet
  • Adds the ability to register a wallets stake address
  • Adds the ability to delegate an address to the stake pool

First attempt at go, so feel free to provide feedback or make commits to the branch with suggested cleanup!

We were always returning the same tx ID? because we weren't unmarshalling the data into the record
Now that we're computing the txId correctly, this mock data needs to be somewhat reasonable.  Additionally, the tx body can have many ommitted fields (I've seen txs with 3, 4, and 6), so just deserialize the array directly
@Quantumplation Quantumplation merged commit ffe889a into main Sep 18, 2021
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.

1 participant