Follow Node
Last updated
Last updated
The follow
node is an integral part of the MetaID specification, allowing users to create and maintain their social relationships within the blockchain network. By utilizing follow
, we can significantly enhance the social capabilities of MetaID, providing users with a richer and more in-depth interaction experience.
The script format for the follow
protocol is as follows:
follow
In the follow
format, create
represents a follow action, while revoke
represents an unfollow action.
In the revoke
operation, the path
must locate a valid PIN
, and this PIN
must be a valid follow
PIN
.
Taking user A following user B as an example:
User A's MetaID: c08c4e96514ee5c4f91b6df3de7a42f797a36af7265918a6b74d5198f87682ad
User B's MetaID: 2464ad8d35e601f8b73c80976104ff00e878f58dc2f2936ec3a269fe34d962c2
The script operation for user A to follow user B is as follows:
After the follow
PIN
is committed to the blockchain, the generated pinId
is: dcvv5d4377f36c7c2466259593d0d4a0c1e5d7ec19500e082ce1eea3993f22b1aac1i0
Then, the script operation for user A to unfollow user B is as follows:
Both follow and unfollow operations take effect immediately and generate corresponding records on the blockchain.