Hi, I am a little bit lost with so much new info.
I am playing with some contribution_coin similar idea to piggybank, using python. I can select a coin, I can get the puzzle reveal, modified solution. but when it comes to signing, I need some synthetic private key that fits that chosen_coin_puzzle_hash, right?
so my guess is that I have to use “chia/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.py”, or “chia/wallet/derive_keys.py”.
and do some:
synthetic_offset == sha256(hidden_puzzle_hash + original_public_key)
synthentic_public_key == original_public_key + synthetic_offset_pubkey
I might be far from the right path.
Hidden_puzzle_hash is just the puzzle_hash from coin to spend?
How do I get from “synthetic_offset” to “synthetic_offset_pubkey”?
Some link to extra info, or simple examples?
appreciate in advance, thanks.