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 genesis vesting contracts, converted to PoS timestamps #558

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sisou
Copy link
Member

@sisou sisou commented Dec 3, 2024

This will change a little in an upcoming @nimiq/core version when the Nimiq.VestingContract.dataToPlain() method is corrected to take actual tx data and the tx's value, instead of the internal serialization of vesting creation data.

For the data, I used the genesis vesting contract data from nimiq.watch v2, and converted it to PoS timestamps, then verified the converted data with an RPC node in the respective network. All testnet vesting contracts are still there, while some mainnet contracts have since been claimed and pruned. However, the existing ones still verified, so they should all be correct as they've been converted with the same logic.

This will change a little in an upcoming @nimiq/core version when the Nimiq.VestingContract.dataToPlain() method is corrected to take actual tx data and the tx's value, instead of the internal serialization of vesting creation data.
@sisou sisou self-assigned this Dec 3, 2024
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