Replying to Avatar Jimmy

nostr:nprofile1qqsdulkdrc5hdf4dktl6taxmsxnasykghdnf32sqmnc7w6km2hhav3gppemhxue69uhkummn9ekx7mp0qywhwumn8ghj7mn0wd68ytfsxyhxymmvwshx7cnnv4e8vetj9uq3uamnwvaz7tmwdaehgu3dwp6kytnhv4kxcmmjv3jhytnwv46z7qmml2f could you explain a bit how you envision interaction with bitcoin for reading out blockhashes? If i understood correctly your test code you have currently hard coded blockhash into the script. Is there a benefit of reading that out from blockchain in a more random manner? The randomness is already given by npub, and I guess that one can derive an arbitrary long chain of random numbers from that. Are there more options for transforming npub + blockhash to random numbers besides what you use?

great questions!

blockhash prevents a sybil attack

what stops me making 1 million pubkeys until I roll the perfect character?

using blockhash i am limited to wait a bit for a confirmation, and dungeon master can set a fee or limit number in a campaign

there can of course be multiple DMs you choose from, or guilds of DMs

Reply to this note

Please Login to reply.

Discussion

Thanks. So you would use the blockhash in which transaction was confirmed as a component for the seed?

yes, I think you add those two things and you'll get a unique character that the dungeon master can verify

same with battles or life events can be from a subsequent blockhash

if there's a better, or another way, of doing it, we should consider that too