Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ahmetson/mistransfer-website

Open more actions menu
 
 

Repository files navigation

Mistransfer website

Mistransfer is a platform to get back Tokens/NFTs sent to a wrong smartcontract.

This boilerplate is built with Moralis

🚀 Quick Start

Deploy with Vercel

💿 Install all dependencies:

cd mistransfer/website
yarn install

✏ Rename .env.local.example to .env.local and provide required data. Get your Web3 Api Key from the Moralis dashboard:

image

🖊️ Fill the environment variables in your .env.local file in the app root:

  • MORALIS_API_KEY: You can get it here.
  • NEXTAUTH_URL: Your app address. In the development stage, use http://localhost:3000.
  • NEXTAUTH_SECRET: Used for encrypting JWT tokens of users. You can put any value here or generate it on https://generate-secret.now.sh/32.
  • USER_INTERFACE: UserInterface smartcontract address.

Example:

MORALIS_API_KEY=xxxx
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=7197b3e8dbee5ea6274cab37245eec212
USER_INTERFACE=0x1C5a4E5345E81db66EF3D739f7702DFb76a758b8

🚴‍♂️ Run your App:

yarn start

🧭 Table of contents

🏗 Ethereum Components

<Lost/ERC20Transfers />

location: src/component/templates/lost/ERC20/ERC20Transfers.tsx

💰 <Lost/ERC20Transfers /> : displays the user's ERC20 transfers sent to a wrong contract. It shows the "Reclaim" button to get them back.

<Lost/NFTTransfers />

location: src/component/templates/lost/NFT/NFTTransfers.tsx

🎨 <Lost/NFTTransfers /> : displays the user's NFT transfers sent to a wrong contract. It shows the Reclaim button to recover lost NFTs.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.