Updating a zonefile

Hi All,

@larry you mentioned the other day about using,

function makeUpdate(fullyQualifiedName: string,
ownerKeyHex: string,
paymentKeyHex: string,
zonefile: string) {

to get dropbox out of my zonfile.

I’ve been building up the Content block idea and want to be able to do this so I can test the multiplayer storage (as things stand I can’t use this account to log in with the ‘publish_data’ permission as it hangs).

Can you help by confirming of the args above I have that,

fullyQualifiedName = mikecohen.id
ownerKeyHex = (this names public key): 13cuYFmbEnnL9CnRUNWRxVxSoVyc3QFKKd
zonefile: $ORIGIN mikecohen.id $TTL 3600 _http._tcp URI 10 1 "https://www.dropbox.com/s/1pan4es3lkzf62s/profile.json?dl=1"
paymentKeyHex: ???

So I have two questions…

  1. I see by comparing zonefiles that I need to replace the string https://www.dropbox.com/s/1pan4es3lkzf62s/profile.json?dl=1 with a valid hub url e.g. muneeb.id has https://gaia.blockstack.org/hub/1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs/0/profile.json

So I should replace mine with…

  1. I’m not sure where/how to find the paymentKeyHex - I see it’s a private key; am I able to find it to pass it in?

Many thanks,