Skip to content

astr0-g/Signet-Social-Media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

SIGNET

Decentralized Social Media Platform Application
Explore the docs »

View Demo · Report Bug


signet smart contract on Goerli Testnet Network
Signet Controllor smart contract
Signet FollowSys smart contract
Signet ProfileSys smart contract
Explore the deployment data »

Visitor count

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

SIGNET

Always wondering if there is able to have a Blockchain Journal Book application for people to save their photos or stories on-chain which can last forever, even their offsprings could watch it which is a nice point of using blockchain.

Signet could be a good point to connect to others in this space, and I gave it a name SIGNET, it is similar to a badge or emblem which represents a user’s ideas or memories. We need to sign for every single transaction on blockchain, I found signet could be a good fit for this name. After a month of development in chainlink hackathon, the product demo is working as expected.

(back to top)

Built With

This section contains frameworks/libraries used to bootstrap Signet, it includes the frontend and the backend.

Next
Wagmi
django
node.js
hardhat
vercel
python
chainlink
filecoin filecoin nftsotrage Estuary filecoin

(back to top)

Getting Started

There are four folders in this project, they are all used by signet.

Prerequisites

  • npm

    npm install npm@latest -g
  • python
    python version >= 3.7.9
    Download from here

Installation

you can skip 3-5 if you are only testing frontend
  1. Clone the repo

    git clone https://github.com/Astr0-G/Signet-Social-Media.git
  2. cd into each folder besides signetapi and Install NPM packages

    npm install
  3. cd into signetapi folder Install Python packages

    pip install requirements.txt

    create a .env file and put

    databaseusername = ''
    databasepassword = ''
    secert_key= ''
    

    please have your own database access ready
    (localhost or remote)
    and change the setting regarding database access

    python manage.py runserver
  4. cd into signetcontract

    npm hardhat test

    for test cases

    npm hardhat node

    but be sure to change the contract address of the json files in the signetfrontend constants

  5. cd into signetmonitor create a .env file and put

    rpc=''
    api=''
    
    node listenFollowed.js
    node listenSendmessage.js
    node listenUnFollowed.js
  6. cd into signetfrontend

    create a .env file and put

    NEXT_PUBLIC_NFT_STORAGE_KEY=
    NEXT_PUBLIC_estuary_KEY=
    NEXT_PUBLIC_etherscanapi=
    NEXT_PUBLIC_ALCHEMYAPIKEY1=
    NEXT_PUBLIC_INFURAAPIKEY1=
    NEXT_PUBLIC_ALCHEMYAPIKEY2=
    NEXT_PUBLIC_INFURAAPIKEY2=
    
    npm dev

    if you want to run on your own api and own chain
    you will need to replace all the api in files of this folder that I am using
    simply search keyword fetch in the files and replace the link after it

(back to top)

Usage (this is old version)

click connect wallet

signet


click generate if you are new to signet

signet


type what you want to say and even choose a pic then click generate

signet


wait till

signet


you will be able to check in console

signet


click sign to sign the signet

signet


you will be able to see your signet tokenURI has minted as expected

signet


you can like other users

signet


you can star other users too with 10$ worth of coin

signet


you can follow and unfollow other users by going to

other user's tab and also from user's following list or follwers list

signet


you can change your profile by clicking photo on your profile

click done when you finish

signet


you can change your name by clicking name on your profile

signet


Use this repo to look at useful examples of how signet can be used. Additional screenshots, code examples and demos work well in this repo.

For more examples, please refer to the Video

(back to top)

Roadmap

  • signet api
  • signet smart contract monitor
  • signet frontend
    • home tab
    • explore tab
    • profile tab
  • signet smart contract
    • signet controllor
    • signet followSys
    • signet profileSys
  • filecoin integration with nft.storage/Estuary
  • NFT owner tab

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Function Branch (git checkout -b new/Function)
  3. Commit your Changes (git commit -m 'Add some Function')
  4. Push to the Branch (git push origin function/Function)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

astro - @lil_astr_0 - wangge326@gmail.com

Project Link: github demo

please dm on twitter if you need Goerli Testnet Native Token to test Signet, I am happy to help!

(back to top)

#� �S�i�g�n�e�t�-�S�o�c�i�a�l�-�M�e�d�i�a�-�P�l�a�t�f�o�r�m� � �

About

First Fully Decentralized Social Media Platform Application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published