├── .gitattributes ├── .github └── workflows │ ├── build-android.yml │ ├── build-ios.yml │ ├── notice-yarn-changes.yml │ ├── validate-android.yml │ ├── validate-cpp.yml │ └── validate-js.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── android ├── CMakeLists.txt ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src │ └── main │ ├── AndroidManifest.xml │ ├── cpp │ └── cpp-adapter.cpp │ └── java │ └── com │ └── margelo │ └── bignumber │ ├── BigNumberModule.java │ └── BigNumberPackage.java ├── cpp ├── BigNumber │ ├── MGBigNumber.cpp │ ├── MGBigNumber.h │ ├── MGModContext.cpp │ ├── MGModContext.h │ ├── MGRedBigNum.cpp │ └── MGRedBigNum.h ├── JSI Utils │ ├── MGJSIMacros.h │ ├── MGSmartHostObject.cpp │ ├── MGSmartHostObject.h │ ├── MGThreadAwareHostObject.cpp │ ├── MGThreadAwareHostObject.h │ ├── TypedArray.cpp │ └── TypedArray.h ├── MGBigNumberHostObject.cpp ├── MGBigNumberHostObject.h └── Utils │ ├── MGBigNumHelper.cpp │ ├── MGBigNumHelper.h │ ├── MGDispatchQueue.cpp │ └── MGDispatchQueue.h ├── example ├── .bundle │ └── config ├── .gitignore ├── .watchmanconfig ├── Gemfile ├── Gemfile.lock ├── __tests__ │ └── App-test.tsx ├── _node-version ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── bignumberexample │ │ │ │ └── ReactNativeFlipper.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── bignumberexample │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── release │ │ │ └── java │ │ │ └── com │ │ │ └── bignumberexample │ │ │ └── ReactNativeFlipper.java │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios │ ├── .xcode.env │ ├── BigNumberExample.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── BigNumberExample.xcscheme │ ├── BigNumberExample.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── BigNumberExample │ │ ├── AppDelegate.h │ │ ├── AppDelegate.mm │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── main.m │ ├── BigNumberExampleTests │ │ ├── BigNumberExampleTests.m │ │ └── Info.plist │ ├── Podfile │ ├── Podfile.lock │ └── _xcode.env ├── metro.config.js ├── package.json ├── patches │ └── elliptic+6.5.4.patch ├── src │ ├── App.tsx │ ├── Testing │ │ ├── MochaRNAdapter.ts │ │ ├── MochaSetup.ts │ │ ├── TestList.ts │ │ ├── bn-tests │ │ │ ├── README.md │ │ │ ├── arithmetic-test.js │ │ │ ├── binary-test.js │ │ │ ├── constructor-test.js │ │ │ ├── fixtures.js │ │ │ ├── pummel │ │ │ │ └── dh-group-test.js │ │ │ ├── res-test.js │ │ │ └── utils-test.js │ │ └── elliptic-tests │ │ │ └── curves.ts │ ├── bn-elliptic │ │ ├── lib │ │ │ ├── elliptic │ │ │ │ ├── curve │ │ │ │ │ ├── base.js │ │ │ │ │ ├── edwards.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── mont.js │ │ │ │ │ └── short.js │ │ │ │ ├── curves.js │ │ │ │ ├── ec │ │ │ │ │ ├── index.js │ │ │ │ │ ├── key.js │ │ │ │ │ └── signature.js │ │ │ │ ├── eddsa │ │ │ │ │ ├── index.js │ │ │ │ │ ├── key.js │ │ │ │ │ └── signature.js │ │ │ │ ├── precomputed │ │ │ │ │ └── secp256k1.js │ │ │ │ └── utils.js │ │ │ └── index.js │ │ └── package.json │ ├── components │ │ ├── Button.tsx │ │ ├── CorrectResultItem.tsx │ │ ├── IncorrectResultItem.tsx │ │ ├── Indentator.tsx │ │ ├── Suite.tsx │ │ └── TestItem.tsx │ └── navigators │ │ ├── Root.tsx │ │ ├── RootProps.ts │ │ └── children │ │ ├── Entry │ │ ├── Entry.tsx │ │ ├── EntryProps.ts │ │ └── TestItemType.ts │ │ ├── TestingScreen │ │ ├── RowItemType.ts │ │ ├── TestingScreen.tsx │ │ └── TestingScreenProps.ts │ │ └── benchmarks │ │ ├── Benchmarks.tsx │ │ └── BenchmarksProps.ts ├── tsconfig.json └── yarn.lock ├── img ├── banner-dark.png ├── banner-light.png ├── exodus.svg ├── expo.png └── react-native.png ├── ios ├── BigNumber.xcodeproj │ └── project.pbxproj ├── BigNumberModule.h └── BigNumberModule.mm ├── package.json ├── react-native-bignumber.podspec ├── src ├── BigNumber.ts ├── NativeBigNumber │ └── NativeBigNumber.ts └── index.ts ├── tsconfig.json └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/build-android.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/build-android.yml -------------------------------------------------------------------------------- /.github/workflows/build-ios.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/build-ios.yml -------------------------------------------------------------------------------- /.github/workflows/notice-yarn-changes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/notice-yarn-changes.yml -------------------------------------------------------------------------------- /.github/workflows/validate-android.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/validate-android.yml -------------------------------------------------------------------------------- /.github/workflows/validate-cpp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/validate-cpp.yml -------------------------------------------------------------------------------- /.github/workflows/validate-js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.github/workflows/validate-js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/README.md -------------------------------------------------------------------------------- /android/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/CMakeLists.txt -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/src/main/cpp/cpp-adapter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/src/main/cpp/cpp-adapter.cpp -------------------------------------------------------------------------------- /android/src/main/java/com/margelo/bignumber/BigNumberModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/src/main/java/com/margelo/bignumber/BigNumberModule.java -------------------------------------------------------------------------------- /android/src/main/java/com/margelo/bignumber/BigNumberPackage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/android/src/main/java/com/margelo/bignumber/BigNumberPackage.java -------------------------------------------------------------------------------- /cpp/BigNumber/MGBigNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGBigNumber.cpp -------------------------------------------------------------------------------- /cpp/BigNumber/MGBigNumber.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGBigNumber.h -------------------------------------------------------------------------------- /cpp/BigNumber/MGModContext.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGModContext.cpp -------------------------------------------------------------------------------- /cpp/BigNumber/MGModContext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGModContext.h -------------------------------------------------------------------------------- /cpp/BigNumber/MGRedBigNum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGRedBigNum.cpp -------------------------------------------------------------------------------- /cpp/BigNumber/MGRedBigNum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/BigNumber/MGRedBigNum.h -------------------------------------------------------------------------------- /cpp/JSI Utils/MGJSIMacros.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/MGJSIMacros.h -------------------------------------------------------------------------------- /cpp/JSI Utils/MGSmartHostObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/MGSmartHostObject.cpp -------------------------------------------------------------------------------- /cpp/JSI Utils/MGSmartHostObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/MGSmartHostObject.h -------------------------------------------------------------------------------- /cpp/JSI Utils/MGThreadAwareHostObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/MGThreadAwareHostObject.cpp -------------------------------------------------------------------------------- /cpp/JSI Utils/MGThreadAwareHostObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/MGThreadAwareHostObject.h -------------------------------------------------------------------------------- /cpp/JSI Utils/TypedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/TypedArray.cpp -------------------------------------------------------------------------------- /cpp/JSI Utils/TypedArray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/JSI Utils/TypedArray.h -------------------------------------------------------------------------------- /cpp/MGBigNumberHostObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/MGBigNumberHostObject.cpp -------------------------------------------------------------------------------- /cpp/MGBigNumberHostObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/MGBigNumberHostObject.h -------------------------------------------------------------------------------- /cpp/Utils/MGBigNumHelper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/Utils/MGBigNumHelper.cpp -------------------------------------------------------------------------------- /cpp/Utils/MGBigNumHelper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/Utils/MGBigNumHelper.h -------------------------------------------------------------------------------- /cpp/Utils/MGDispatchQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/Utils/MGDispatchQueue.cpp -------------------------------------------------------------------------------- /cpp/Utils/MGDispatchQueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/cpp/Utils/MGDispatchQueue.h -------------------------------------------------------------------------------- /example/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/.bundle/config -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/Gemfile -------------------------------------------------------------------------------- /example/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/Gemfile.lock -------------------------------------------------------------------------------- /example/__tests__/App-test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/__tests__/App-test.tsx -------------------------------------------------------------------------------- /example/_node-version: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/build.gradle -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/debug/java/com/bignumberexample/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/debug/java/com/bignumberexample/ReactNativeFlipper.java -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/bignumberexample/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/java/com/bignumberexample/MainActivity.java -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/bignumberexample/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/java/com/bignumberexample/MainApplication.java -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/drawable/rn_edit_text_material.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/app/src/release/java/com/bignumberexample/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/app/src/release/java/com/bignumberexample/ReactNativeFlipper.java -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/build.gradle -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/gradlew -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/gradlew.bat -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/android/settings.gradle -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/index.js -------------------------------------------------------------------------------- /example/ios/.xcode.env: -------------------------------------------------------------------------------- 1 | export NODE_BINARY=$(command -v node) 2 | -------------------------------------------------------------------------------- /example/ios/BigNumberExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /example/ios/BigNumberExample.xcodeproj/xcshareddata/xcschemes/BigNumberExample.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample.xcodeproj/xcshareddata/xcschemes/BigNumberExample.xcscheme -------------------------------------------------------------------------------- /example/ios/BigNumberExample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /example/ios/BigNumberExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /example/ios/BigNumberExample/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/AppDelegate.h -------------------------------------------------------------------------------- /example/ios/BigNumberExample/AppDelegate.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/AppDelegate.mm -------------------------------------------------------------------------------- /example/ios/BigNumberExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /example/ios/BigNumberExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /example/ios/BigNumberExample/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/Info.plist -------------------------------------------------------------------------------- /example/ios/BigNumberExample/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/LaunchScreen.storyboard -------------------------------------------------------------------------------- /example/ios/BigNumberExample/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExample/main.m -------------------------------------------------------------------------------- /example/ios/BigNumberExampleTests/BigNumberExampleTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExampleTests/BigNumberExampleTests.m -------------------------------------------------------------------------------- /example/ios/BigNumberExampleTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/BigNumberExampleTests/Info.plist -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/Podfile -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/Podfile.lock -------------------------------------------------------------------------------- /example/ios/_xcode.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/ios/_xcode.env -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/package.json -------------------------------------------------------------------------------- /example/patches/elliptic+6.5.4.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/patches/elliptic+6.5.4.patch -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /example/src/Testing/MochaRNAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/MochaRNAdapter.ts -------------------------------------------------------------------------------- /example/src/Testing/MochaSetup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/MochaSetup.ts -------------------------------------------------------------------------------- /example/src/Testing/TestList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/TestList.ts -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/README.md -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/arithmetic-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/arithmetic-test.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/binary-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/binary-test.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/constructor-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/constructor-test.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/fixtures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/fixtures.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/pummel/dh-group-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/pummel/dh-group-test.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/res-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/res-test.js -------------------------------------------------------------------------------- /example/src/Testing/bn-tests/utils-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/bn-tests/utils-test.js -------------------------------------------------------------------------------- /example/src/Testing/elliptic-tests/curves.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/Testing/elliptic-tests/curves.ts -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curve/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curve/base.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curve/edwards.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curve/edwards.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curve/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curve/index.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curve/mont.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curve/mont.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curve/short.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curve/short.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/curves.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/curves.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/ec/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/ec/index.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/ec/key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/ec/key.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/ec/signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/ec/signature.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/eddsa/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/eddsa/index.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/eddsa/key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/eddsa/key.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/eddsa/signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/eddsa/signature.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/precomputed/secp256k1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/precomputed/secp256k1.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/elliptic/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/elliptic/utils.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/lib/index.js -------------------------------------------------------------------------------- /example/src/bn-elliptic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/bn-elliptic/package.json -------------------------------------------------------------------------------- /example/src/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/Button.tsx -------------------------------------------------------------------------------- /example/src/components/CorrectResultItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/CorrectResultItem.tsx -------------------------------------------------------------------------------- /example/src/components/IncorrectResultItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/IncorrectResultItem.tsx -------------------------------------------------------------------------------- /example/src/components/Indentator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/Indentator.tsx -------------------------------------------------------------------------------- /example/src/components/Suite.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/Suite.tsx -------------------------------------------------------------------------------- /example/src/components/TestItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/components/TestItem.tsx -------------------------------------------------------------------------------- /example/src/navigators/Root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/Root.tsx -------------------------------------------------------------------------------- /example/src/navigators/RootProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/RootProps.ts -------------------------------------------------------------------------------- /example/src/navigators/children/Entry/Entry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/children/Entry/Entry.tsx -------------------------------------------------------------------------------- /example/src/navigators/children/Entry/EntryProps.ts: -------------------------------------------------------------------------------- 1 | export type EntryProps = undefined; 2 | -------------------------------------------------------------------------------- /example/src/navigators/children/Entry/TestItemType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/children/Entry/TestItemType.ts -------------------------------------------------------------------------------- /example/src/navigators/children/TestingScreen/RowItemType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/children/TestingScreen/RowItemType.ts -------------------------------------------------------------------------------- /example/src/navigators/children/TestingScreen/TestingScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/children/TestingScreen/TestingScreen.tsx -------------------------------------------------------------------------------- /example/src/navigators/children/TestingScreen/TestingScreenProps.ts: -------------------------------------------------------------------------------- 1 | export type TestingScreenProps = { 2 | testRegistrators: Array<() => void>; 3 | }; 4 | -------------------------------------------------------------------------------- /example/src/navigators/children/benchmarks/Benchmarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/src/navigators/children/benchmarks/Benchmarks.tsx -------------------------------------------------------------------------------- /example/src/navigators/children/benchmarks/BenchmarksProps.ts: -------------------------------------------------------------------------------- 1 | export type BenchmarksProps = undefined; 2 | -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /img/banner-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/img/banner-dark.png -------------------------------------------------------------------------------- /img/banner-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/img/banner-light.png -------------------------------------------------------------------------------- /img/exodus.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/img/exodus.svg -------------------------------------------------------------------------------- /img/expo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/img/expo.png -------------------------------------------------------------------------------- /img/react-native.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/img/react-native.png -------------------------------------------------------------------------------- /ios/BigNumber.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/ios/BigNumber.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ios/BigNumberModule.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/ios/BigNumberModule.h -------------------------------------------------------------------------------- /ios/BigNumberModule.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/ios/BigNumberModule.mm -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/package.json -------------------------------------------------------------------------------- /react-native-bignumber.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/react-native-bignumber.podspec -------------------------------------------------------------------------------- /src/BigNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/src/BigNumber.ts -------------------------------------------------------------------------------- /src/NativeBigNumber/NativeBigNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/src/NativeBigNumber/NativeBigNumber.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/src/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/margelo/react-native-bignumber/HEAD/yarn.lock --------------------------------------------------------------------------------