Not able to push zonefile

#1

I have made cluster of 3 blockstack-core and running atlas

i have followed this steps as while pushing zonefile

>>> import blockstack
>>> import base64
>>> data = "..."   # this is the chunk data you will announce
>>> data_b64 = base64.b64encode(data)
>>> result = blockstack.lib.client.put_zonefiles('https://node.blockstack.org:6263', [data_b64])
>>> assert result['saved'][0] == 1

but in last assertion saved is 0
what can be the possible solution ?

#2

Zone files may only be pushed if their hashes are associated with an operation in the Stacks blockchain. Operations that may include a zone file include:

  • UPDATE
  • REGISTER
  • RENEW

To push a zonefile, you will need to issue one of those kinds of transactions. I recommend examining the blockstack CLI for performing that: