Global discovery mechanism based on blockchains