Development Resources

This page list useful resources for developing on the Lens.


This page will be regurlarly updated as new features are released. Watch this space for more information.

Deployed Contracts

The Lens protocol smart contracts are deployed at the following addresses on the Lens Testnet:

FactoriesAddress
LensFactory0xbD7EAFA4Df7EC8DDC8Ca50Fbc29659B10FDD1a3e
AccessControlFactory0x4Be5187AB4C1f160423331c0db7Db68a76926418
AccountFactory0xb532410088316E00e5E93E5491DC6A8BC87dF322
AppFactory0x980dc188D6847A191a28a477c63992184D321b8e
FeedFactory0x18882Eb5ab38a655EFbc6BbFDBBD2A1aa55f33d9
GraphFactory0x6b85AaDD9E2514804189618748BB839239b7DA11
UsernameFactory0xFCCE7d6f2854da1D940a29FDBC2E2Efda592828C
GroupFactory0xD5DD30FC8f1174b919ED408017e24ce9c85a4627
Global InstancesAddress
Global Graph0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557
Global Feed0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7
Lens Username0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f
Testnet App0xe5439696f4057aF073c0FB2dc6e5e755392922e1
ActionsAddress
TippingAccountAction0x44365b40cC050C7AFee448F00026b94fC8B061eC
SimpleCollectAction0xCC1702edA947BeEaB598FC8EEDEca94D833eD3F5
Feed RulesAddress
GroupGatedFeedRule0xDa31B2D12157F7db658080d1782B8fE3aA49205a
RestrictedSignersFeedRule0xe524FA315B5C2ff1D7977bb0f9A13093555988F7
SimplePaymentFeedRule0x0A25ab2A285410cdf45c148FA9DB3828C78138fd
TokenGatedFeedRule0xD7a7cCC828eDF16551eE4f13B0A794b4EA0ce4b8
Post RulesAddress
FollowersOnlyPostRule0xF39E951E830EeeA2aA4e1CD1c7588b0E4020603C
Graph RulesAddress
RestrictedSignersGraphRule0x5E83C1b5c5b6c03A87b65c963987233d0396F5F4
TokenGatedGraphRule0xE9a966EC7fD01dEF8ccE6591a6DC51aC23b446Dd
Follow RulesAddress
SimplePaymentFollowRule0xb3ea632d84513E9745bE5b1C1531066e57C64148
TokenGatedFollowRule0x5cA056b1ABa90A52367aBfa08D9Bc1e2726b24e9
Group RulesAddress
ApprovalGroupRule0xde7Cc59257f87D081a7a9567D3DA360e62b2754E
SimplePaymentGroupRule0x4D00A2336fBac00C5Ebb6891175c8AC0820Dd6fE
TokenGatedGroupRule0x1B1e5CDfbF0f63aA540D36BFf3Ed16DB14fe4dF9
Username RulesAddress
CharsetUsernameRule0x9369872362b2555cc4438808DfC86C97cB927087
LengthUsernameRule0xbb36492Ee8d3303AdA36536E7b4f6AF6c34614D3
SimplePaymentUsernameRule0x7d499975049740a23A72EBd00E579D88004591da
TokenGatedUsernameRule0xe1d46F3fac690FaA6b2C2a630a49ac9Eb7D900ec
Multi-purpose RulesAddress
UserBlockingRule0x7d499975049740a23A72EBd00E579D88004591da

Lens Contracts

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