Installation Guide

Choose your platform to get started with MetaMUI Crypto Primitives. All implementations are built from source – there are no published packages on public registries.

Prerequisites

Clone the repository first:

git clone https://github.com/SovereignWallet-Network/metamui-crypto-primitives.git
cd metamui-crypto-primitives

Build from Source

Python

cd metamui-crypto-python
pip install -e .

Requirements:

Rust

cd metamui-crypto-rust
cargo build --release

Requirements:

TypeScript/JavaScript

cd metamui-crypto-typescript
npm install
npm run build

Requirements:

Swift

cd metamui-crypto-swift
swift build

Requirements:

Kotlin

cd metamui-crypto-kotlin
./gradlew build

Requirements:

Go

cd metamui-crypto-go
go build ./...

Requirements:

Java

cd metamui-crypto-java
mvn compile

Requirements:

C#

cd metamui-crypto-csharp
dotnet build

Requirements:

C

cd metamui-crypto-c
make

Requirements:

WASM

cd metamui-crypto-typescript/packages/falcon
npm install
npm run build

Requirements:

Verify Build

Python

cd metamui-crypto-python
python3 -m pytest tests/ -v

Rust

cd metamui-crypto-rust
cargo test

Go

cd metamui-crypto-go
go test ./...

Platform-Specific Notes

Python

Rust

TypeScript/JavaScript

Swift

Kotlin

WASM

Troubleshooting

Common Issues

Python: ImportError

# Ensure you have the latest pip
pip install --upgrade pip
# Then reinstall
cd metamui-crypto-python && pip install -e .

Rust: Build errors

# Clean and rebuild
cargo clean
cargo build --release

TypeScript: Type errors

# Ensure TypeScript is updated
npm install --save-dev typescript@latest

WASM: Module not found

// For webpack, add to config:
experiments: {
  asyncWebAssembly: true
}

Next Steps