You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-7Lines changed: 24 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
# Symbol SDK Crypto
1
+
# expo-symbol-sdk
2
2
3
-
This library is a lightweight SDK extracted from the Symbol SDK’s use of Node.js’s crypto module. To avoid complex dependency resolutions on platforms like Web, Node.js, and React Native, this library serves as the base for SDKs tailored to each platform. This light version of the SDK offers the following features:
3
+
expo-symbol-sdk is a symbol-sdk optimized for use on expo managed react native. This sdk can be used by application developers simply by installing it, without the need for complex environment setup.
4
+
5
+
However, this sdk is a lightweight package that extracts only the functions of symbol-sdk that depend on the node.js core module. Only the following features are provided compared to the original symbol-sdk:
`MessageEncoder.encode` returns a `Uint8Array`. It can be used directly with symbol-sdk@3. However, if you need to handle it as a string, you can convert it to hex with the following implementation.
Application developers do not need to be aware of this, but when an encrypted message is sent to a node and retrieved from the node again, the "01" will be added to the beginning of the hex string. This is a flag to indicate that the message is encrypted.
77
+
If you want to send an encrypted message to another application without going through a node and decrypt it using the SDK, you need to add "01" to the beginning of the hex yourself.
78
+
68
79
## Contributing
69
80
70
-
expo-symbol-crypto is an open-source project. Contributions are welcome. Please refer to the GitHub repository for details.
81
+
`expo-symbol-crypto` is an open-source project. Contributions are welcome. Please refer to the GitHub repository for details.
71
82
72
83
## License
73
84
@@ -76,3 +87,9 @@ This software is provided under the [MIT License](./LICENSE).
76
87
## Contact
77
88
78
89
For questions or feedback, please contact us through the GitHub repository.
90
+
91
+
## External sites
92
+
93
+
*[Symbol Community Web](https://symbol-community.com)
0 commit comments