@secondts/bark-react-native
v0.3.3
Published
Bark FFI bindings for React Native
Readme

Bark is an implementation of the Ark protocol on bitcoin, led by Second. The Ark protocol is a bitcoin layer 2 for making fast, low-cost, self-custodial payments at scale. Ark uses a client-server model to enable users to transact off-chain while still being able to "exit" their balances on-chain at any time.
Installation
Expo
- Install the package:
npx expo install @secondts/bark-react-native- Add the plugin to
app.jsonorapp.config.js:
{
"expo": {
"plugins": ["@secondts/bark-react-native"]
}
}Warning: If you are using pnpm v10+, run pnpm approve-builds and select @secondts/bark-react-native to allow the postinstall script to download the prebuilt native binaries.
- Run prebuild
npx expo prebuildNote: bark-react-native contains native code and requires a development build. It will not work with Expo Go.
Bare React Native
- Install the package
npm install @secondts/bark-react-nativeNote: If you are running on iOS, navigate into the ios folder and run pod install.
Beta/Pre-release Versions
To install a beta or pre-release version:
# Install latest beta
npx expo install @secondts/bark-react-native@beta# Or install a specific beta version
npx expo install @secondts/[email protected]For bare React Native projects, use:
npm install @secondts/bark-react-native@betaLicense
Released under the MIT license.
