How to implement a green address in Bitcoind?
Green addresses are by convention, not by protocol.  You would need to publish an address and then sign a message with the corresponding private key that says, "I promise never to double-spend any coins from this address."  Then you'd need to convince others to believe your promise.