All the things needed to make Bitcoin work on embedded µpy platforms like ESP32.
Name is "Number Go Up" ... because need that.
Absoletely none of SHITCOINS allowed here
- using libsecp256k1 for everything, except:
- mbedtls if already present on target (ESP32 uses for TLS)
- otherwise use cifra
- generic EC, certificates stuff, disabled if no mbedtls
- AES submodule disabled if you have mbedtls, because ucryptolib is same
- libwally-core used for testing only
-
might need, see issue
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig setenv PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig
make one-time
does submodule bullshit, configures K1 libmake quick
compiles Unix micropython port, runs tests- can play with
./ngu-micropython
binary on your desktop - compile for ESP32 and burn onto TTGO board
make -f makefile.esp32
make -f makefile.esp32 deploy
- on target, do:
>>> import ngu_tests.run
or for single test:
>>> import ngu_tests.test_hash
- STM32 port builds, but untested:
make -f makefile.stm32