Use pulsar to make custom trading strategy that uses Flashloans at low cost. No contract deployment required.

Overview

PULSAR

Pulsar is a contract that will let you execute custom call on the blockchain and let you make use of the Flasloans in your trading sequences. You do not need to deploy a contract and since we use Polygon the gas to execute such operation is very cheap.

You can use pulsar for you trading bot as well.

install

clone this repo and run

npm install.

or directly with npm install

npm i @idecentralize/pulsar

Once installed edit and rename your env.example file to .env. Make sure to never share this file.

We have created a demo1 call so you can validate the call. The call require you to have 1 DAI and 1.5 MATIC

You will make a 1000 DAI loan and repay it back. It will cost you 0,90 DAI in loan fees charge by AAVE an 1 MATIC sent as msg.value that you pay only of you make a successful trade.

Once you have fund your wallet you can run the demo1. You can also make customs calls of your own.

Please open an issue if you run into one!

You might also like...

Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)

Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)

Crypto Trading Bot A work in progress Cryptocurrency for common exchanges like Bitfinex, Bitmex and Binance. As most trading bots just provide basic b

Dec 9, 2022

A bot to automatically DCA (Dollar-Cost Average) buy cryptocurrency on Binance

A bot to automatically DCA (Dollar-Cost Average) buy cryptocurrency on Binance

Binance DCA (Dollar-Cost-Averaging) Bot This bot allows you to sit back and relax while it automatically invests in cryptocurrency on the Binance exch

Jan 6, 2023

Test each framework for it's performance cost

Framework Benchmarks Test each framework for it's performance, particularly common Lighthouse and CWV metrics as applications scale Important: This is

Jan 2, 2023

Create your own custom NFT minting page using thirdweb's NFT Drop contract

Customizable NFT Drop Minting Page In this example, you can create your own NFT Drop minting page just by customising the template with your branding,

Dec 24, 2022

A Remix Auth strategy for working with forms.

FormStrategy A Remix Auth strategy to work with any form. Supported runtimes Runtime Has Support Node.js ✅ Cloudflare ✅ How to use This Strategy gives

Jan 2, 2023

A template application for setting up a mobile app video game with IONIC, PHASER, ANGULAR and a Monorepo strategy

OpenForge Ionic Monorepo Example This is a template project for all you aspiring video game developers out there! Want to use your web application ski

Dec 22, 2022

True P2P concept for your p2p powered website/app/client. MSC/MEP (Multiple Strategy Concept/Multiple Entry Points)

True P2P concept for your p2p powered website/app/client. MSC/MEP (Multiple Strategy Concept/Multiple Entry Points)

TRUE P2P CONCEPT - Lets redecentralize the web This repo is just conceptual. Active development of the endproduct (TRUE P2P) happens here https://gith

Mar 29, 2022

FCIV.NET is a open source strategy game loosely based on Freeciv

FCIV.NET is a open source strategy game loosely based on Freeciv

FCIV.NET FCIV.NET is an open-source turn-based strategy game. It can be played in any HTML5 capable web-browser and features in-depth game-play and a

Nov 22, 2022

Debut plugin that provides additional candles of specified tickers to strategy.

debut-plugin-candles A plugin for Debut platform that provides additional candles of specified tickers to strategy. Install @debut/community-core shou

Dec 15, 2022
Comments
  • Error: cannot estimate gas

    Error: cannot estimate gas

    npx hardhat run-demo1

    Initial DAI Balance :  3.0
    
    An unexpected error occurred:
    
    Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"name":"ProviderError","code":3,"_isProviderError":true,"data": ..........
    

    reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT',

    opened by lysack 4
Owner
idecentralize.finance
idecentralize.finance
JavaScript Package Size Cost like bundlephobia or import-cost

JavaScript Page Size Cost The @esmj/size show you javascript cost for your defined packages. The packages is bundled with Webpack. Then show the bundl

Miroslav Jancarik 4 Nov 17, 2022
Ethereum smart contract gas cost waste pattern detection and patching tool

Ethereum smart contract gas cost waste pattern detection and patching tool

ibelab 4 Mar 23, 2022
Profitable flashloans by arbitraging the ETH Price on Kyber and Uniswap - Bot Arbitrage

profitable_flashloans Arbitrage bot setup to search for arbitrage opportunities using the pair ETH/DAI in the Uniswap & Kyber DEXes This version of th

Stalin Javier Macias Gómez 12 Dec 18, 2022
This repository contains the Solidity smart contract of Enso, a detailed list of features and deployment instructions.

Enso NFT Smart Contract This repository contains the Solidity smart contract of Enso, a detailed list of features and deployment instructions. We stro

enso NFT 3 Apr 24, 2022
Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls.

Contract Wallet Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls

Junho Yeo 3 Jun 18, 2022
Use thirdweb's token, edition drop, and a custom contract using thirdweb deploy to build a Play-to-Earn game!

thirdweb Play-to-Earn Example This example project is a simple Play-to-Earn (P2E) game! The Idea The game is a "mining" game, where your character min

thirdweb templates 28 Jan 2, 2023
Kuldeep 2 Jun 21, 2022
A simple NFT trading and breeding platform for demonstration purposes.

?? boxyz I know it sounds strange, but maybe these boxes can breed and have children. They can be sold as well. boxyz is a fun project to trade and br

cetin 8 Dec 12, 2022
Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

null 12 Dec 5, 2022
Simple trading bot that utilize Jupiter SDK on Solana blockchain.

solana-jupiter-bot CAUTION! Use at Your own risk! I take no responsibility for your transactions! ⚠️ EPILEPSY WARNING - CLI UI is constantly refreshed

Pawel Mioduszewski 13 Dec 27, 2022