Giter VIP home page Giter VIP logo

tokenassets's Introduction

Please check Smol new repo: https://github.com/SmolDapp/SmolV2

Smoldapp

./public/og.png

The safest way to transfer all your ERC20 tokens at once!

Migratooor is an easy and secure way to move all your Ethereum and ERC20 tokens from one wallet to another, with a single signature if using gnosis. This process does not involve any smart contracts!

Why Use Migratooor?

  • Secure: You don't need to trust any third-party smart contract! For maximum security, you can run the source code yourself and avoid any phishing risks!
  • Easy to Use: Our user-friendly interface allows you to quickly select all the tokens you want to migrate!

Migratooor employs the ethers library to transfer ERC20 tokens from one wallet to another. This generates all the transactions needed to securely move your tokens to the wallet of your choosing!

How To Use Migratooor

Using Migratooor is simple. Here's a quick step-by-step guide to transferring tokens with Migratooor:

  1. Connect your wallet to get started
  2. Select the tokens you want to transfer
  3. Input the amount of tokens you want to transfer
  4. Enter the address of the wallet you want to transfer the tokens to
  5. Confirm the transactions and wait for them to be processed by the Ethereum network
  6. Transfer complete! All tokens have been sent to the recipient's wallet

Configuring

In order to run migratooor, you need to set up the environment variables for the JSON-RPC URLs of the Ethereum networks you want to support. You also need to set up the receiver address and disperse address. These settings can be found in the next.config.js file:

env: {
    JSON_RPC_URL: {
        1: process.env.RPC_URL_MAINNET,
        10: process.env.RPC_URL_OPTIMISM,
        250: process.env.RPC_URL_FANTOM,
        42161: process.env.RPC_URL_ARBITRUM
    },
    RECEIVER_ADDRESS: '0x10001192576E8079f12d6695b0948C2F41320040',
    DISPERSE_ADDRESS: '0xD152f549545093347A162Dce210e7293f1452150'
}

You can set these environment variables in a .env file in the project root directory. Make sure to replace the values with the appropriate URLs and addresses for your project.

Here's an example of a .env file:

RPC_URL_MAINNET=https://mainnet.infura.io/v3/YOUR_API_KEY
RPC_URL_OPTIMISM=https://optimism.infura.io/v3/YOUR_API_KEY
RPC_URL_FANTOM=https://fantom.infura.io/v3/YOUR_API_KEY
RPC_URL_ARBITRUM=https://arbitrum.infura.io/v3/YOUR_API_KEY
RECEIVER_ADDRESS=0x10001192576E8079f12d6695b0948C2F41320040
DISPERSE_ADDRESS=0xD152f549545093347A162Dce210e7293f1452150

Replace YOUR_API_KEY with your own Infura API key or any other Ethereum JSON-RPC provider. Make sure to use the correct receiver and disperse addresses for your project.

Once you've set up the environment variables, you're ready to run the project using the commands outlined in the previous sections.

Build and Develop

Prerequisites

Before you proceed, make sure you have the following installed on your machine:

Installing Dependencies

First, navigate to migratooor root directory in your terminal and run the following command to install all the required dependencies:

npm install

Development Mode

To run migratooor in development mode, use the following command:

npm run dev

If you want to run the TypeScript compiler in watch mode alongside the development server, use:

npm run dev:ts

Building the Project

To build migratooor, run the following command:

npm run build

This command will first compile the TypeScript files and then build the project using the next command.

Starting the Production Server

To start the production server, first build migratooor (if you haven't already), and then run the following command:

npm run start

Exporting the Project

To export migratooor for deployment to IPFS, run the following command:

npm run export

This command will first compile the TypeScript files, then build migratooor using the next command, and finally export the build to the ipfs folder.

Linting

To run the ESLint linter, use the following command:

npm run lint

This command will check all .js, .jsx, .ts, and .tsx files in the project for linting issues.

tokenassets's People

Contributors

0xbasically avatar 0xkorin avatar 0xmidnite avatar abmisx0 avatar answerswap avatar baklavaspace avatar basechad avatar belbix avatar blackrockonbase avatar chipklutzy avatar chromesthete avatar defliteam avatar dudesahn avatar elvalandro avatar etherpilled avatar ethzoomer avatar github-actions[bot] avatar harbormarket avatar itsmetazz avatar keccakdog avatar majorfi avatar mil0xeth avatar officialrafl avatar peglabs avatar sagarduwal avatar schlagonia avatar stas avatar veyronpepe avatar x1hawk1x avatar xswaplink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tokenassets's Issues

No base64png in svg

The following icons are base64 PNG in SVG and must be updated.
A check will be added in the checks to prevent base64 svg

1/0x447ddd4960d9fdbf6af9a790560d0af76795cb08 @0xBasically
10/0x28b42698caf46b4b012cf38b6c75867e0762186d @ethzoomer
10/0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979 @ethzoomer
10/0x894134a25a5fac1c2c26f1d8fbf05111a3cb9487 @ethzoomer
10/0xb532178708814f0c174b29b991d2b355106afbc3 @ethzoomer
10/0xbc7b1ff1c6989f006a1185318ed4e7b5796e66e1 @ethzoomer
10/0xc1c167cc44f7923cd0062c4370df962f9ddb16f5 @stas
10/0xc26921b5b9ee80773774d36c84328ccb22c3a819 @stas
8453/0x6b4712ae9797c199edd44f897ca09bc57628a1cf @ethzoomer
8453/0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979 @ethzoomer
8453/0x8544fe9d190fd7ec52860abbf45088e81ee24a8c @ethzoomer
8453/0xba5e6fa2f33f3955f0cef50c63dcc84861eab663 @ethzoomer
8453/0xf34e0cff046e154cafcae502c7541b9e5fd8c249 @ethzoomer
8453/0xff8adec2221f9f4d8dfbafa6b9a297d17603493d @ethzoomer
8453/0xffa3f8737c39e36dec4300b162c2153c67c8352f @0xBasically

Brandwidth Limitation = File size limitation

What's happening

Due to the 1TB usage of this last month, due to some too-big-to-be-true SVG files, we are now enforcing a new rule for SVG files.
Any token with a SVG file above 0.15MB will be removed the 01/04/2024.

Right now, this includes:

"2.40mb - /8453/0x025f99977db78317a4eba606998258b502bb256f/logo.svg"
"1.27mb - /8453/0x6921b130d297cc43754afba22e5eac0fbf8db75b/logo.svg"
"1.20mb - /8453/0x0d97f261b1e88845184f678e2d1e7a98d9fd38de/logo.svg"
"1.16mb - /1/0x6ade6971ca3d90990c30d39c78b0534c7166e07b/logo.svg"
"1.16mb - /1/0x6951bdc4734b9f7f3e1b74afebc670c736a0edb6/logo.svg"
"0.87mb - /8453/0xafb89a09d82fbde58f18ac6437b3fc81724e4df6/logo.svg"
"0.79mb - /10/0xdb61f9b480f0a8b817811cfaa89a1c219c355224/logo.svg"
"0.73mb - /8453/0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0/logo.svg"
"0.73mb - /10/0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0/logo.svg"
"0.71mb - /8453/0x1f3ba804efb9cfe17d595e7262cea4782dbf6e4e/logo.svg"
"0.68mb - /10/0x50c5725949a6f0c72e6c4a641f24049a917db0cb/logo.svg"
"0.50mb - /8453/0xd1db4851bcf5b41442caa32025ce0afe6b8eabc2/logo.svg"
"0.50mb - /10/0xb962150760f9a3bb00e3e9cf48297ee20ada4a33/logo.svg"
"0.49mb - /8453/0x2223f9fe624f69da4d8256a7bcc9104fba7f8f75/logo.svg"
"0.48mb - /8453/0x940181a94a35a4569e4529a3cdfb74e38fd98631/logo.svg"
"0.44mb - /10/0xee9c8ab468e51c3b031ac3086fd420417ab21882/logo.svg"
"0.37mb - /10/0x676f784d19c7f1ac6c6beaeaac78b02a73427852/logo.svg"
"0.36mb - /10/0x300d2c875c6fb8ce4bf5480b4d34b7c9ea8a33a4/logo.svg"
"0.33mb - /10/0x7a7f1187c4710010db17d0a9ad3fce85e6ecd90a/logo.svg"
"0.32mb - /10/0x5976d4c3bcfc1c5f90ab1419d7f3ddf109cea35a/logo.svg"
"0.32mb - /10/0x3417e54a51924c225330f8770514ad5560b9098d/logo.svg"
"0.32mb - /10/0x4e316557f63c2156eafdfec08f31df4957136203/logo.svg"
"0.24mb - /1/0xbe426b0f37c112dd20d5866769c8034171567b31/logo.svg"
"0.24mb - /1/0x390f3595bca2df7d23783dfd126427cceb997bf4/logo.svg"
"0.24mb - /1/0x94cc50e4521bd271c1a997a3a4dc815c2f920b41/logo.svg"
"0.24mb - /1/0xecdd0ce505da71cd9de855cd6804ba1e8c7bdb07/logo.svg"
"0.24mb - /1/0x34d655069f4cac1547e4c8ca284ffff5ad4a8db0/logo.svg"
"0.24mb - /1/0x8272e1a3dbef607c04aa6e5bd3a1a134c8ac063b/logo.svg"
"0.24mb - /1/0x4dece678ceceb27446b35c672dc7d61f30bad69e/logo.svg"
"0.24mb - /1/0x9978c6b08d28d3b74437c917c5dd7c026df9d55c/logo.svg"
"0.23mb - /1/0xf55b0f6f2da5ffddb104b58a60f2862745960442/logo.svg"
"0.23mb - /1/0x3de254a0f838a844f727fee81040e0fa7884b935/logo.svg"
"0.23mb - /1/0xca978a0528116dda3cba9acd3e68bc6191ca53d0/logo.svg"
"0.23mb - /1/0x0cd6f267b2086bea681e922e19d40512511be538/logo.svg"
"0.23mb - /8453/0x1443cbca252d1ffae56b4ee4cc904e9554e2f6ad/logo.svg"
"0.20mb - /10/0x917aa69d539d6518440dd0bea2eaac142a8d5610/logo.svg"
"0.18mb - /1/0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717/logo.svg"
"0.18mb - /1/0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca/logo.svg"
"0.18mb - /1/0xed4064f376cb8d68f770fb1ff088a3d0f3ff5c4d/logo.svg"
"0.18mb - /10/0xc0a0adf5e3b07e383c2c1533b2f0878a3195c622/logo.svg"
"0.18mb - /10/0xe39120b27e5bfec953524402c2e261763c76519e/logo.svg"
"0.18mb - /1/0xca0253a98d16e9c1e3614cafda19318ee69772d0/logo.svg"
"0.18mb - /10/0x46f21fda29f1339e0ab543763ff683d399e393ec/logo.svg"
"0.18mb - /10/0x139283255069ea5deef6170699aaef7139526f1f/logo.svg"
"0.17mb - /10/0x8a6039fc7a479928b1d73f88040362e9c50db275/logo.svg"
"0.15mb - /10/0xff5318f81dd791e92d51b8a54fa3538832d2890d/logo.svg

What if I disagree

1 TB usage is 20$/month. 2 TB usage is 420$/month.
Right now we are still under the 20$ per month so we will continue supporting these costs.
If we reach more that 1TB usage, we will first upgrade the architecture to reduce the cost, but this won't solve a big brandwidth because of poorly created SVG files.
This repo is public and free to copy/clone, and a simple configuration on Vercel can make it available with your own domain. Here are the Build & Development Settings we are using.

Framework Preset: Next.js
Build Command: yarn --cwd _config/nodeAPI/ run build
Output Directory: _config/nodeAPI/.next
Install Command: yarn install && yarn --cwd _config/nodeAPI/ install
Development Command: next
Node Version: 18.x
Environment Variables: None

Maybe Concerned People

Tagging people that contributed at least once for future reference:
@Daviddddd777 @Q6Crypto @fufuninja @larrythecucumber321 @0xAnimeWaifu @RomualdH @lucasfernandes @BasedDotFarmDev @CryptJS13 @tigris-of-gaul @tomploem @iostat @baldguy886 @1brahimsaid @schmackofant @chimpydev @mochithecatcoin @codeplec @schnarkus @0xdeployer @twx-pathdao @roinevirta @TJ-2 @ltj866 @DEFLICONTRACTS @blackrockinu @budezllc @jpnmemelord @Bloudraad @0xValJohn @iamvukasin @benaadams @bingusbaldcat @lilesper @jacek0x @jgabriele321 @jameswgc @belbix @PEGLABS @keccakdog @Schlagonia @sagarduwal @Chromesthete @DeFliTeam @ItsMeTazz @answerswap @0xkorin @stas @VeyronPEPE @dudesahn

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.