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 »
Table of Contents
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.
This section contains frameworks/libraries used to bootstrap Signet, it includes the frontend and the backend.
There are four folders in this project, they are all used by signet.
-
npm
npm install npm@latest -g
-
python
python version >= 3.7.9
Download from here
-
Clone the repo
git clone https://github.com/Astr0-G/Signet-Social-Media.git
-
cd into each folder besides signetapi and Install NPM packages
npm install
-
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 accesspython manage.py runserver
-
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
-
cd into signetmonitor create a .env file and put
rpc='' api=''
node listenFollowed.js node listenSendmessage.js node listenUnFollowed.js
-
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 keywordfetch
in the files and replace the link after it
click connect wallet
click generate if you are new to signet
type what you want to say and even choose a pic then click generate
wait till
you will be able to check in console
click sign to sign the signet
you will be able to see your signet tokenURI has minted as expected
you can like other users
you can star other users too with 10$ worth of coin
you can follow and unfollow other users by going to
other user's tab and also from user's following list or follwers list
you can change your profile by clicking photo on your profile
click done when you finish
you can change your name by clicking name on your profile
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
- 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
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!
- Fork the Project
- Create your Function Branch (
git checkout -b new/Function
) - Commit your Changes (
git commit -m 'Add some Function'
) - Push to the Branch (
git push origin function/Function
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
astro - @lil_astr_0 - wangge326@gmail.com
please dm on twitter if you need Goerli Testnet Native Token to test Signet, I am happy to help!
#� �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� � �