hedera-smart-contracts icon indicating copy to clipboard operation
hedera-smart-contracts copied to clipboard

Manage the submit key of an HCS topic via a precompile call

Open pathornteng opened this issue 2 years ago • 4 comments

Problem

There is a request from our community member for the smart contract to be able to manage an HCS topic. They want to set a smart contract as an admin key of the HCS topic and then change the submit key through a precompile call from the smart contract.

Solution

Implement a precompile call interface that allows the smart contract to manage the submit key of the HCS topic.

Alternatives

No response

pathornteng avatar Nov 14 '23 11:11 pathornteng

Our user story is a DAO that coordinates telecommunication service collaborations. Service providers in the DAO should have write access to a "search" topic that allows all registered Service Providers to participate in a route search across telecommunications infrastructure.

We can facilitate this with a 1-of-N threshold key as the submit key, but the only entity that can authoritatively determine who is and is not a service provider member is the DAO itself.

pauldesmondparker avatar Nov 16 '23 08:11 pauldesmondparker

@pathornteng has there been any discussion around this?

pauldesmondparker avatar Feb 07 '24 01:02 pauldesmondparker

@pauldesmondparker, not much is going on but in the conclusion, we will need to write a HIP if we want this feature to be prioritized and implemented.

pathornteng avatar Feb 07 '24 07:02 pathornteng

HIP-478 addresses this.

ebadiere avatar Feb 13 '24 21:02 ebadiere