Smart contract that modifies an ipns path?

Is it capable for plutus \ smart contract to modify an ipns path? For instance, a decentralized service would run a regular job that would trigger the logic in a smart contract to check the weather and then modify an ipns path. The smart contract would check the weather through an oracle and if it is raining, the smart contract would edit the ipns path to point at an ipfs image that shows rain clouds. If its clear skies, the ipns would be modified to point at an ipfs image that is sunny. The decentralized service would not have the permission to change the ipns path, only the smart contract would have that permission.

1 Like