Skip to content

Commit

Permalink
Added better documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabcotech committed Jul 9, 2024
1 parent 8fa9660 commit d269cb8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ A set of low, high value TON blockchain (The Open Network) FunC smart contracts
- **Arithmetic** : TON Smart contract that performs basic add/substract/multiply operations on a integer
- **Fibonacci** : TON Smart contract that stores two integers, and continues the fibonacci sequence everytime it is touched.
- **Ten thousands transfers** : Two blockchain users exchange TON back and forth, 10.000 times, balance is checked after each transfer.
- **One thousand token transfer** : Mints a new token with 100B supply, 30B are sent to three blockchain users, they do one thusands small token transfers.

```sh
npm i
npm run build
npm run test
yarn
yarn build
yarn test

# Only test arithmetic
npm run test tests/Arithmetic.spec.ts
yarn test tests/Arithmetic.spec.ts

# Only test fibonacci
npm run test tests/Fibonacci.spec.ts
yarn test tests/Fibonacci.spec.ts

# Only test 10.000 transfers
npm run test tests/TenThousandsTransfers.spec.ts
yarn test tests/TenThousandsTransfers.spec.ts

# Only test 1.000 token transfers
npm run test tests/OneThousandTokenTransfers.spec.ts
yarn test tests/OneThousandTokenTransfers.spec.ts
```

0 comments on commit d269cb8

Please sign in to comment.