Skip to content

Commit

Permalink
REAME file improved, again haha
Browse files Browse the repository at this point in the history
  • Loading branch information
KenatSF committed Feb 17, 2023
1 parent 2f8e578 commit 0469154
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ Follow the steps.
Write in a console the next line:

```
ganache-cli --fork Ethereum-Node-URL@13027545 --unlock 0xE8E8f41Ed29E46f34E206D7D2a7D6f735A3FF2CB
$ ganache-cli --fork Ethereum-Node-URL@13027545 --unlock 0xE8E8f41Ed29E46f34E206D7D2a7D6f735A3FF2CB
```
(You could use [Infura](https://www.infura.io/) for the node. Also, the block number is important for the test.)

Then, write in a different console within the root directory of the repository:

```
truffle test
$ truffle test
```


Expand All @@ -43,11 +43,11 @@ $ truffle migrate --network ethereum_mainnet
```

Before you deploy it, you should uncomment the line 396 in the Flashy.sol file.
With this modification the contract can make the respective fee payment to the minner. Also, you can withdraw the profit of the transaction based on the percentage you pass it. Percentage recommended: 80% minner & 20% you, but remember it depends on the profit you are making.
With this modification the contract can make the respective fee payment to the minner. Also, you can withdraw the profit of the transaction based on the percentage you pass it. Percentage recommended: 80% minner & 20% you, but obviously it depends on the profit you're making, if it's a huge profit, that percentege to the miner could be considerably smaller.
<br />
<br />
<br />

**Note: Although in this repository I'm using [Truffle](https://github.com/trufflesuite/truffle) , I really recommend you to use [Foundry](https://github.com/foundry-rs/foundry) for your projects. It's a better tool than [Truffle](https://github.com/trufflesuite/truffle) or even [Hardhat](https://github.com/NomicFoundation/hardhat).**
**Note: As an advice, I really recommend you to use [Foundry](https://github.com/foundry-rs/foundry) for your projects. It's a better tool than [Truffle](https://github.com/trufflesuite/truffle) or even [Hardhat](https://github.com/NomicFoundation/hardhat).**

**Good Luck! ;)**

0 comments on commit 0469154

Please sign in to comment.