/poster

Primary LanguageTypeScriptGNU Lesser General Public License v3.0LGPL-3.0

██████╗  ██████╗ ███████╗████████╗███████╗██████╗
██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
██████╔╝██║   ██║███████╗   ██║   █████╗  ██████╔╝
██╔═══╝ ██║   ██║╚════██║   ██║   ██╔══╝  ██╔══██╗
██║     ╚██████╔╝███████║   ██║   ███████╗██║  ██║
╚═╝      ╚═════╝ ╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝

A ridiculously simple general purpose social media smart contract. It takes a string as a parameter and emits that string, along with msg.sender, as an event. That's it.

It is intended to be deployed on L2 Ethereum networks, or any EVM compatible network where gas is cheap/free.

Poster v5 has been deployed at 0xA0c7A49916Ce3ed7dd15871550212fcc7079AD61 on multiple networks using the Singleton Factory. If it is not yet deployed on your chosen network, you can use the Singleton Factory to deploy an instance of Poster at the same address on just about any EVM compatible network using these parameters:

initCode: 0x608060405234801561001057600080fd5b506102d6806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638ee93cf314610030575b600080fd5b61004a60048036038101906100459190610105565b61004c565b005b3373ffffffffffffffffffffffffffffffffffffffff167f6babe127d1599cad37c523a2dd29c5d02acd7132a883e378a2d9b42ec75a1fa982604051610092919061017f565b60405180910390a250565b60006100b06100ab846101d2565b6101a1565b9050828152602081018484840111156100c857600080fd5b6100d384828561021e565b509392505050565b600082601f8301126100ec57600080fd5b81356100fc84826020860161009d565b91505092915050565b60006020828403121561011757600080fd5b600082013567ffffffffffffffff81111561013157600080fd5b61013d848285016100db565b91505092915050565b600061015182610202565b61015b818561020d565b935061016b81856020860161022d565b6101748161028f565b840191505092915050565b600060208201905081810360008301526101998184610146565b905092915050565b6000604051905081810181811067ffffffffffffffff821117156101c8576101c7610260565b5b8060405250919050565b600067ffffffffffffffff8211156101ed576101ec610260565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b82818337600083830152505050565b60005b8381101561024b578082015181840152602081019050610230565b8381111561025a576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f830116905091905056fea2646970667358221220f948f2edf289e59f1f45c1c873f30105a12ae6767ab28894a1fd6db6c859383a64736f6c63430008000033

salt: 0x


TODO:

  • A standard json format for posts
  • an example subgraph

Made with ❤️ by Auryn.eth