Table of Contents

Crypto: investigations around token pair checking system

Continuing with our Arbitrage management system in this post, I wanted to focus on restoring my PairChecker contract, and this will mostly lead me to the re-implementation of a layer in python to manager the solidity compiler and then some initial experiment on the BSC testnet which is in the end giving me a pretty poor impression, so I won't spend long on that, and at the end of this post, I will eventually decide to move to ganache instead.

Restoring the PairChecker smart contract

Adding support for data encryption/decryption

{{ blog:2022:0603:encrypt_decrypt.png }}

More investigations on PairChecker

Deploying contracts from python

Managing solc compilers

Storing the ABI and bytecode

Auto selecting compiler based on pragma

Compiling all source files as needed

Flag to force recompilation

Back to our PairChecker contract

Deploying a Smart Contract on BSC testnet

Support to transfer funds between account

Still not a terribly good system since the allowance is also per IP address apparently, so I have to use a VPN to make another request for that second account 😅. but anyway…

Setting up test env for PairCheckerV5

Getting more test BNBs

I just found this page https://github.com/kewka/give-me-bnb so I'm now testing the docker image for it.

Back to token deployment

After changing the provider url to “https://data-seed-prebsc-1-s3.binance.org:8545/” the next day, I could finally get the testnet to handle my transactions again.