Skip to content

Instantly share code, notes, and snippets.

@johnwhitton
johnwhitton / keybase.md
Created August 31, 2023 16:56
keybase.md

Keybase proof

I hereby claim:

  • I am johnwhitton on github.
  • I am jwhitton (https://keybase.io/jwhitton) on keybase.
  • I have a public key ASDRo7KwjYVNI9egNecJkzAaTnVGPrJYK3mOnZeCvEU2FAo

To claim this, I am signing this object:

@johnwhitton
johnwhitton / bumpTime.log
Created March 18, 2022 23:32
Log when using bumpTime in OneWallet
johnlaptop code (testing) $ ttt
/Users/john/one-wallet/one-wallet/code
Using network 'ganache'.
Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.
@johnwhitton
johnwhitton / HarmonyTestnet.md
Last active September 29, 2021 01:33
Kanga Finance Harmony Testnet Data - https://demo.kanga.finance

Testing

Kanga.finance can be tested on Harmony Testnet using https://demo.kanga.finance

Below is an overview of the tokens and liquidity pools that are available for testing.

If you wish to receive tokens for testing please reach out in the Harmony Hackathon discord channel.

Currently the application has only been tested using Metamask with One Wallet Integration and further functionality still to come.

@johnwhitton
johnwhitton / John Week 2.md
Created August 14, 2021 00:30
John Harmony update

Summary

  • Owner: john
  • Week 2: 08/09-08/15
  • Total: 15 hours
  • Overtime: 0 hours

Time Table

date start time end time duration note
08/09 00:00 00:00 0 Deployed Kanga Finance on Harmony Testnet see additional development
@johnwhitton
johnwhitton / 1. android build problem
Last active April 12, 2021 19:23
Polakwallet build issue
johnlaptop wallet (master) $ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.4, on macOS 11.2.3 20D91 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.55.0)
[✓] Connected device (2 available)
@johnwhitton
johnwhitton / tmp200.log
Created February 6, 2021 03:28
Parachain not producing Blocks
2021-02-05 19:11:15.463 INFO main sc_cli::runner: Parachain Collator Template
2021-02-05 19:11:15.464 INFO main sc_cli::runner: ✌️ version 2.0.0-422bc45-x86_64-macos
2021-02-05 19:11:15.464 INFO main sc_cli::runner: ❤️ by Anonymous, 2017-2021
2021-02-05 19:11:15.464 INFO main sc_cli::runner: 📋 Chain specification: Local Testnet
2021-02-05 19:11:15.464 INFO main sc_cli::runner: 🏷 Node name: Alice
2021-02-05 19:11:15.464 INFO main sc_cli::runner: 👤 Role: AUTHORITY
2021-02-05 19:11:15.464 INFO main sc_cli::runner: 💾 Database: RocksDb at local-test/chains/local_testnet/db
2021-02-05 19:11:15.464 INFO main sc_cli::runner: ⛓ Native runtime: cumulus-test-parachain-100 (cumulus-test-parachain-1.tx1.au1)
2021-02-05 19:11:17.343 INFO main parachain_collator::command: Parachain id: Id(200)
2021-02-05 19:11:17.343 INFO main parachain_collator::command: Parachain Account: 5Ec4AhPTL6nWnUnw58QzjJvFd3QATwHA3UJnvSD4GVSQ7Gop
@johnwhitton
johnwhitton / generate-error.txt
Created June 23, 2020 00:09
Rosetta grpc definition generation error
$ gnostic api.yaml --grpc-out=.
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: AccountBalanceRequest" keys:"components" keys:"schemas" keys:"AccountBalanceRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: AccountBalanceResponse" keys:"components" keys:"schemas" keys:"AccountBalanceResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'example' is not supported for the schema: metadata" keys:"components" keys:"schemas" keys:"AccountBalanceResponse" keys:"properties" keys:"metadata" keys:"example"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockRequest" keys:"components" keys:"schemas" keys:"BlockRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockResponse" keys:"components" keys:"schemas" keys:"BlockResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is
@johnwhitton
johnwhitton / yarn install error
Last active June 17, 2020 01:03
Window not defined when running redoc as an npm package with swagger-ui-react
ohndesktop emasset $ yarn build
yarn run v1.22.4
$ docusaurus build
Creating an optimized production build...
✔ Client
Compiled successfully in 20.75s
✖ Server
Compiled with some errors in 25.15s
@johnwhitton
johnwhitton / docusarus_compile_errror.txt
Last active June 12, 2020 19:48
Docusarus compile error
johnweb website (master) $ yarn build
yarn run v1.22.4
$ docusaurus build
Creating an optimized production build...
✔ Client
Compiled successfully in 23.92s
✖ Server
Compiled with some errors in 28.24s