inkapp / ink-v1-core

the main codebase for ink, the decentralized social platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ink

code for ink, the decentralized social network.

features

  • 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

functions

  • register: registers an address on the userIndex mapping
  • createPost: creates a post on the postIndex
  • followUser: follows a user specified
  • getFollowers: returns the length of activeFollowers mapping
  • getUserPost: returns Post[]array from inputted values
  • getUser: returns UserDeets from inputted values
  • getPost: returns Post from inputted values
  • getPosts: returns details about posts given the starting and ending indexes
  • _tipUser: tips a user given amount and address
  • tipOnPost: tips a specific post based on inputted values

channels

About

the main codebase for ink, the decentralized social platform.


Languages

Language:Solidity 63.1%Language:JavaScript 36.9%