GithubHelp home page GithubHelp logo

ethprag_2023_solarlens's Introduction

SolarPunk Lens in the Web3 Space

Hardhat Project for SolarLens Coin

This project marks an exciting milestone for SolarPunk Lens as it ventures into the realm of Web3. Here, we present a Hardhat project that showcases a practical use case for SolarLens Coin. The repository includes a sample contract, a corresponding test for that contract, and a deployment script.

To get started, try running some of the following tasks using the command line:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

The "solar-client" Folder: Building the SolarPunk dApp with Lens Protocol

The "solar-client" folder within this repository contains the SolarPunk dApp that harnesses the power of the Lens protocol. By integrating with Lens, the dApp gains access to valuable functionalities and capabilities.

To set up the necessary dependencies, use the following command:

yarn

By executing this command, all the required dependencies will be installed, allowing you to start exploring and developing with the SolarPunk dApp. Embrace the power of the Web3 space and immerse yourself in the SolarPunk Lens experience.

Setting Up Your Private Keys in the .env File

To ensure the security and privacy of your private keys, it is recommended to store them in a separate file called .env. This file is not included in version control, providing an extra layer of protection for your sensitive information.

Follow the steps below to set up your private keys in the .env file:

Create a new file in the root directory of the project and name it .env.

Open the .env file in a text editor and add the following line:

PRIVATE_KEY=<your-private-key>

Replace with your actual private key. Make sure to keep the angle brackets (<>) removed.

Save the .env file.

By setting up your private keys in the .env file, you can access them securely within your code without exposing them to potential risks. Remember to keep the .env file confidential and never share it publicly or commit it to a version control repository.

With your private keys properly configured, you can now interact with the SolarPunk Lens project and the SolarPunk dApp, leveraging the power of Web3 technology while ensuring the privacy and security of your keys.

Smart contract addresses

Scrol: https://blockscout.scroll.io/address/0x32378D727F1B25919D4F0da08FB0C1B5521d33df/write-contract#address-tabs

Mantle: https://explorer.testnet.mantle.xyz/address/0x66052E3fF41a2eC6a88AC39Ae2A4f4e49FDF12Cc/write-contract#address-tabs

Taiko: https://explorer.test.taiko.xyz/address/0x66052E3fF41a2eC6a88AC39Ae2A4f4e49FDF12Cc/contracts#address-tabs

Base: https://goerli.basescan.org/tx/0x128d3ee9eccd80d4f456e021adf260d1ff5f9ffd5e871a27f506d6afe181d518

ethprag_2023_solarlens's People

Contributors

ilvino avatar

Watchers

 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.