https://github.com/cypherstack/flutter_libepiccash
https://github.com/cypherstack/flutter_libepiccash
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cypherstack/flutter_libepiccash
- Owner: cypherstack
- License: mit
- Created: 2022-06-06T09:06:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-04-30T00:12:19.000Z (about 1 month ago)
- Last Synced: 2026-04-30T01:29:38.168Z (about 1 month ago)
- Language: Dart
- Size: 25.7 MB
- Stars: 2
- Watchers: 5
- Forks: 9
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `flutter_libepiccash`
## Submodules
Initialize submodules:
```sh
git submodule update --init --recursive
```
## Dependencies
### Rust
Install Rust: https://www.rust-lang.org/tools/install
```sh
rustup install 1.81
rustup default 1.81
```
### `cargo-ndk`
```sh
cargo install cargo-ndk
```
# Android
## Add targets to rust
```sh
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android
```
## Install dependencies
```sh
# https://github.com/EpicCash/epic/blob/master/doc/build.md#requirements
sudo apt install build-essential \
cmake \
git \
libgit2-dev \
clang \
debhelper \
libclang-dev \
libncurses5-dev \
libncursesw5-dev \
zlib1g-dev \
pkg-config \
llvm \
cargo \
rustc \
opencl-headers \
libssl-dev \
ocl-icd-opencl-dev \
libc6-dev-i386
```
## Build
```sh
cd scripts/android
./install_ndk.sh
./build_all.sh
```
# iOS
## Add targets to rust
```sh
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
```
## Install dependencies
```sh
cargo install cargo-lipo
cargo install cbindgen
```
## Build
```sh
cd scripts/ios
./build_all
```
# Windows
## Dependencies
Run `scripts/windows/deps.sh` in WSL (may need to alter permissions like with `chmod +x *.sh`) to install `x86_64-w64-mingw32-gcc` and `clang` or run
```sh
sudo apt-get install clang gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
```
## Building for Windows
Run `scripts/windows/build_all.sh` in WSL (Ubuntu 20.04 on WSL2 has been tested)
Libraries will be output to `scripts/windows/build`
## Building on Windows
Perl is required for building on Windows. Strawberry Perl has been tested working.
Run `build_all.ps1` in Powershell. This is not confirmed working and may need work eg. may need some missing dependencies added but has been included as a starting point or example for Windows developers.