Skip to content

Instantly share code, notes, and snippets.

@farwayer
farwayer / nova-wallet-json2eth-pk.js
Last active October 1, 2023 20:22
Convert Nova Wallet (and Fearless) json export to eth private key (moonbeam, moonriver, etc.)
import {xsalsa20poly1305} from '@noble/ciphers/salsa'
import {scryptAsync} from '@noble/hashes/scrypt'
import {bytesToHex} from '@noble/hashes/utils'
import {base64} from '@scure/base'
let password = 'password'
let json = `
{
"address": "0xXXX",
"encoded": "XXX",
def normalize_path(path)
File.expand_path(path, '..')
end
def read_file(path)
unless File.file?(path)
puts "You must provide '#{path}' file"
exit 1
end

Keybase proof

I hereby claim:

  • I am farwayer on github.
  • I am farwayer (https://keybase.io/farwayer) on keybase.
  • I have a public key ASA5qqw7d37L95nsCd0Dc8CjNXOI6zYLmNcI9CqwnlV1nAo

To claim this, I am signing this object:

# Maintainer: danyf90 <[email protected]>
# Contributor: Andrea Cattaneo <[email protected]>
pkgname=genymotion
pkgver=2.6.0
pkgrel=2
pkgdesc="Complete set of tools that provides a virtual environment for Android."
arch=('i686' 'x86_64')
license="UNKNOWN"
url="http://www.genymotion.com/"