Y World Computer Open Social Standard
Yeets are social actions. All actions are Yeets.
Yeets always save data to Y contracts (accounts / profiles). Normal Yeeting uses a "yeet" function. Yo contracts must also have a "save" function that will be called by the Y contract to allow the Yo module to save data internally if needed.
-
Y.sol / Yme.sol - A generalized account / profile contract
-
Yo.sol - A generalized short-form text yeet contract
-
Ya.sol - A generalized short-form text reyeet contract (for any yeet type)
-
Yot.sol - A generalized emoji reaction contract (for any yeet type)
-
Yikes.sol - A generalized long-form text yeet contract
-
Yolo.sol - A generalized photo yeet contract
-
Yap.sol - A generalized audio yeet contract
-
Yi.sol -
-
Ye.sol -
-
Yu.sol -
-
Yup.sol -
-
Yum.sol -
-
Yay.sol -
-
Yuck.sol -
-
Yell.sol -
-
Ytho.sol -
-
Ynot.sol -
-
Ynow.sol -
-
Ybother.sol -
-
Ywait.sol -
-
Ystop.sol -
-
Yyoudothat.sol -
-
Yyouthisway.sol -
-
Ysoserious.sol -
-
Ymca.sol -
-
justY.sol -
-
butY.sol -
-
Yframe.sol -
-
Yrush.sol -
-
Yard.sol -
-
Yapper.sol -
-
Yacht.sol -
- Account - Y.sol
- Text - Yo.sol, Ya.sol, Yrush.sol, justY.sol
- Photo - Yolo.sol, Ya.sol, justY.sol
- Audio - Yapper.sol, Ya.sol, justY.sol
- Video -
Compile the smart contracts with Hardhat:
$ hh compile
Compile the smart contracts and generate TypeChain bindings:
$ hh typechain
Run the tests with Hardhat:
$ hh test
Lint the Solidity code:
$ npm lint:sol
Lint the TypeScript code:
$ npm lint:ts
Generate the code coverage report:
$ npm coverage
See the gas usage per unit test and average gas per method call:
$ REPORT_GAS=true npm test
Delete the smart contract artifacts, the coverage reports and the Hardhat cache:
$ npm clean
Deploy the contracts to Hardhat Network:
$ hh deploy --network optimism-goerli
$ hh deploy --network optimism-goerli --tags Yo
$ hh test ./tests/stored/Y.test.ts
Run scripts like scripts/sample-script.ts
:
$ hh run scripts/sample-script.ts --network optimism-goerli