Giter Site home page Giter Site logo

microfiapp's Introduction

Microfi CashTokens Distribution Application on Bitcoin Cash

The app can distribute CashTokens (this is neither a smart contratc nor a DEX or swap application). Claiming CashTokens can be free for users, but token distributor will have to send CashTokens and Bitcoin Cash to the app wallet address (to pay blockchain transaction fee). Alternatively users can pay transactinion fee of 1800 satoshi if the app wallet address has 0 BCH. Currently we collect service fee od 2000 satoshi, so users need to send 4000 satoshi to the app wallet address to claim CashTokens.

Try it:

https://microfi.onrender.com

If you have questions join https://t.me/mazetokens

Donate Bitcoin Cash to: bitcoincash:qr8j9fzlmsdfy52n37pg2frqaddsjs99qyat9nwf88


To try the app with your CashTokens, you need to download the repository, change the wallet details in the "example_env.txt" and rename it to ".env". Change views/index.ejs, server.js for your needs (token and website details, etc.) in e.g. Visual Studio Code. You can use a wallet seed phrase instead of WIF (in .env: remove comment # next to SEED and add # next to WIF). If you like and use the app, consider keeping Microfi website url (https://microfi.eu) in credits. You can use e.g. Electron Cash wallet to distribute tokens, Microfi wallet or even Microfi paper wallet. Use separate wallet (for distribution only).

#SEED="wallet seed phrase" WIF="wallet private key" PORT=3000

You need nodejs installed on your system. Open a command line (e.g. PowerShell), navigate to the app directory and run:

npm i npm start

Open browser and type: localhost:3000


You can host the app on e.g. https://cyclic.sh (1000 API requests/month, no sleep time) or https://onrender.com (sleeps after 30 minutes of inactivity).

Render tutorial:

Create an account on Render. Create a new web service, connect Git repository, set Environment variables:

WIF faucet wallet privatekey NODE_VERSION 20.12.2

and in settings use:

Build command npm i

Start command npm start


v. 1.0.6

  • minor updates (packages, website - removed PWA, added a simple custom captcha)

  • distribute DARK CashTokens

v. 1.0.5

  • minor updates (packages, website - Progressive Web App (PWA))

v. 1.0.4

  • support for Big Integer for fungible CashTokens (mainnet.js 2.3.0)

v. 1.0.3

  • npm packages update, minor fixes

v. 1.0.2

  • removed token amount and tokenId from env (it is in server.js now)

  • updated frontend to collect a small amount of BCH if there are no funds in the app wallet

v. 1.0.1

  • added helmet npm

  • added WIF in .env

  • updated frontend

  • distribute MESH CRC20 CashToken

  • hCaptcha is optional (add/remove comments // in server.js and <!-- --> in index.ejs and remove comment # in .env)

v. 1.0.0

Microfi Free Flow (XMI) Bitcoin Cash CashTokens.

The total supply of 1 million XMI was distributed for free.

Distribution ran from May 25, 2023 to June 28, 2023 (https://microfi.onrender.com)

Anyone could claim 100 Microfi Free Flow (XMI) CashTokens every hour.

microfiapp's People

Contributors

mazetoken avatar

Stargazers

 avatar  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.