Code Monkey home page Code Monkey logo

lens-map's Introduction

Lens Map 🌱 πŸ—ΊοΈ

A map app based on Lens Protocol. Follow & Collect modules are gated by location, represented by a ERC1155 token.

Map (ERC1155)

  • The entire (-90 to 90) latitudes and (0 to 180E & 180W) longitudes are split into a configurable & predictible amount of locations
  • A base _move function can be used to burn old location token & mint the new location token
Packed Location Account Motion

MapFollowModule

  • Initializing the module sets the map the profile is on
  • Processing the follow verifies the target profile account holds the same location token as caller profile

MapCollectoModule

  • Initializing the module sets the map the profile is on
  • Processing the collect verifies the publication was created in the same location as caller profile

Deployments

Contract Address
MapCollectModule 0x1cF0e24aE49D1ce3D83c73D3d35164cC1b735b05
MapFollowModule 0x87fE365825592D035f678Eb6aB3ec35878da8348

Launch you own map or build on an existing but modules aren't map specific


lens-map's People

Contributors

nezz0746 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.