Help & Support

Lens Contracts

This page list useful resources for interacting with the Lens Protocol smart contracts.

Deployed Contracts

The Lens protocol smart contracts are deployed at the following addresses on the corresponding networks.

Lens Mainnet

FactoriesAddress
AccessControlFactory0x0d028419c270C2d366929f459418a4905D1B778F
AccountFactory0x26C7fd63B06deb4F9E4B5955D540767b9Ac7bbaa
AppFactory0xB3b7502C47E16a1E3c6d660b73006f45Ec327B0B
FeedFactory0x591c6e036a6bC92C6bF0d1dB991D06E74C2B9a6A
GraphFactory0x837E95c3A69Cd6efa3eCDE87A3a07801AAB25Ba0
GroupFactory0x9810C41e805164f30b58395b2Af976B3229b0CE6
NamespaceFactory0x3155ccbeefbA266a4B6060fB1F9d4b8591d1De3F
LensFactory0x1fa75D26819Ac733bf7B1C1B36C3F8aEF32d2Cc0
Global InstancesAddress
Global Feed0xcB5E109FFC0E15565082d78E68dDDf2573703580
Global Graph0x433025d9718302E7B2e1853D712d96F00764513F
Lens Namespace0x1aA55B9042f08f45825dC4b651B64c9F98Af4615
Test App0x8A5Cc31180c37078e1EbA2A23c861Acf351a97cE
AuxiliaryAddress
ActionHub0xc6d57ee750ef2ee017a9e985a0c4198bed16a802
ActionsAddress
TippingAccountAction0x20170f1e53851df4d9ea236a28399493c5b152c0
TippingPostAction0x4984ec4ffd17e64c8f91691d829bd5aea287e47b
SimpleCollectAction0x1cee1cd464c4e44e80acdb0b0e33f88849070f6e
Graph RulesAddress
GroupGatedGraphRule0x754839c5917a063eb923e83f1194e6737bbb451c
TokenGatedGraphRule0x24779f9c251cc5c2ac0ae5c9f274666224e78035
Group RulesAddress
BanMemberGroupRule0xe12543e5f917ada5aef92b26bc08e1925ec9f53f
MembershipApprovalGroupRule0x353064b2ee992483398dab32267e1ad597e502b9
SimplePaymentGroupRule0x6d2251d69fba6d7e761c72d55cf478d741cb4ac1
TokenGatedGroupRule0x0740653858863e8f4f0c734553c2bef0dc54bfa9
Feed RulesAddress
GroupGatedFeedRule0x40a2a352583b266097234f1260b5aafb7b129047
SimplePaymentFeedRule0xd79dfb3f8290c0da1899b91c3bbfe9ab56198004
TokenGatedFeedRule0xe320d45b21243771dc5a47909db2389abab81d5b
Namespace RulesAddress
UsernameSimpleCharsetNamespaceRule0x5dbe2054903512ff26e336c0cbded6e0ddbeac4f
UsernameLengthNamespaceRule0xb541055222c87ee86a72558e8b582a9c0158a0d8
UsernameReservedNamespaceRule0x0e8b9960f2a891a561f2d52f0cd98cca19cdf8c9
TokenGatedNamespaceRule0xd108e4215963f9cb13f47a4b08110d0ff51d52d8
UsernamePricePerLengthNamespaceRule0xad917a20bca258020ff81590f62ff05366ebb180
Follow RulesAddress
SimplePaymentFollowRule0x10e044f026bd51f855a10f2277e35ed4c896db7e
TokenGatedFollowRule0x8b39e5e2b7a4ce8fcd8f4601ca1a43486a9d7ca4
Post RulesAddress
FollowersOnlyPostRule0x4f573ed906cf23cb43f86ad461d10e43e29802ce
Global RulesAddress
AccountBlockingRule0x3b766408f14141f4b567681a1c29cfb58d1c1574

Lens Testnet

FactoriesAddress
AccessControlFactory0x5eb740362F17815Ae67EBcA6420Cbb350f714C3E
AccountFactory0xE55C2154d1766a9C6319dBD989C89867b0457358
AppFactory0xc650f3CcfF7801F5e95a99B99AAbD2f6319d38ed
FeedFactory0xb8169FB0FaB6a699854fd4fD2457b990988E1372
GraphFactory0x7cbB07bD2E80A27c59Ed707B79024cC5e54dEaF0
GroupFactory0xEF51808f8a2399282CDd156E897473b282998a29
NamespaceFactory0xb69CBb69041a30216e2fe13E9700b32761b859C3
LensFactory0x408BC8704Ce76DDcd00cf3a83Acd24de4101eE2D
Global InstancesAddress
Global Feed0x31232Cb7dE0dce17949ffA58E9E38EEeB367C871
Global Graph0x4d97287FF1A0e030cA4604EcDa9be355dd8A8BaC
Lens Namespace0xFBEdC5C278cc01A843D161d5469202Fe4EDC99E4
Test App0xC75A89145d765c396fd75CbD16380Eb184Bd2ca7
AuxiliaryAddress
ActionHub0x4A92a97Ff3a3604410945ae8CA25df4fBB2fDC11
ActionsAddress
TippingAccountAction0xda614A06972C70a8d50D494FB678d48cf536f769
TippingPostAction0x34EF0F5e41cB6c7ad9438079c179d70C7567ae00
SimpleCollectAction0x17d5B3917Eab14Ab4923DEc597B39EF64863C830
Graph RulesAddress
GroupGatedGraphRule0x2Cb90d67d4396385060F4f18B036176005B21d56
TokenGatedGraphRule0x2662F99dC985d3dC710D3c13142e2D156874878d
Group RulesAddress
BanMemberGroupRule0xd12E1aD028d550F85F2a8d9130C46dB77A6A0a41
MembershipApprovalGroupRule0x6d467E7f34e87C0D7185FAf692B43eD5792B86f5
SimplePaymentGroupRule0xC99b11687d91EC4f6e65EcFa205795101BbaB5B2
TokenGatedGroupRule0x3e3a35d2A67583975569c4a19761268AFB958cEF
Feed RulesAddress
GroupGatedFeedRule0xbDE71d01eC6d6c49b2bcc9067EcA352a17D25A91
SimplePaymentFeedRule0x55efA60BE4fd711C114B853A5d251b95bdCC4F66
TokenGatedFeedRule0x54649BfA8Ea33eDD90f93592Fe87627be6C76013
Namespace RulesAddress
UsernameSimpleCharsetNamespaceRule0x1dB51f49DE4D266B2ab7D62656510083e0AACe44
UsernameLengthNamespaceRule0x0F0Fe596bAfddbd2Eb4037Fc111b9C4aE5192C5C
UsernameReservedNamespaceRule0x9a8b0e3344f5ca5f6fc9FcEb8fF543FDeF5eb2b9
TokenGatedNamespaceRule0x87A69174530aA735768096c5F24a0F559553Dd84
UsernamePricePerLengthNamespaceRule0x4aBdf719Bc6659e91233c62D4d08D6F4229989e8
Follow RulesAddress
SimplePaymentFollowRule0x7EA84D750E8C2b7D0EB5e8114f54111d78Eeb992
TokenGatedFollowRule0x51BB76bae8eb8f1B69B8F4c3e310d49423a9aF33
Post RulesAddress
FollowersOnlyPostRule0x8956af058dF5Cb3609Fc10B2ea293764f55F5B0c
Global RulesAddress
AccountBlockingRule0xf3de16e99679243E36BB449CADEA247Cf61450e1

Lens Contracts

You can find the source code for the Lens smart contracts on GitHub.