code for ink, the decentralized social network.
- post a blot
- follow another user
- claim your $INK token
- invite another user to join
- tip a user in $INK
- tip a post in $INK
register: registers an address on theuserIndexmappingcreatePost: creates a post on thepostIndexfollowUser: follows a user specifiedgetFollowers: returns the length ofactiveFollowersmappinggetUserPost: returnsPost[]array from inputted valuesgetUser: returnsUserDeetsfrom inputted valuesgetPost: returnsPostfrom inputted valuesgetPosts: returns details about posts given the starting and ending indexes_tipUser: tips a user given amount and addresstipOnPost: tips a specific post based on inputted values