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
Enhance README with badges and platform information (#343)
* Enhance README with badges and platform information
Updated README.md to include badges, demos, and platform details.
* Changed the packages display name
The Sequence Unity Embedded Wallet SDK provides full Sequence Embedded Wallet and Indexer integration for your Unity Games, integrated with our own purpose-built for Unity SequenceEthereum library.
- PC standalone -> (Mono builds only when using OpenIdAuthentication -> the platform specific setup requires system commands that don't work on IL2CPP -> see OpenIdAuthentication.PlatformSpecificSetup)
18
31
- Mac standalone -> (Mono builds only when using OpenIdAuthentication -> in our testing MacOS doesn't pick up custom URL schemes automatically unless you run some system commands first; these system commands that don't work on IL2CPP -> see OpenIdAuthentication.PlatformSpecificSetup)
19
-
- WebGL + WebGPU
20
32
21
33
## Contributing
22
34
@@ -90,10 +102,6 @@ If you don't define any feature in the url, all boilerplates are enabled.
90
102
91
103
The SDK is split into a number of assemblies with different purposes. Each assembly also has a Test assembly or assembly reference containing tests - this way, our tests aren't included in builds.
92
104
93
-
### SequenceFrontend
94
-
95
-
This contains front-end and example code. Front-end/UI code is considered "example" code for the purposes of this SDK, though it may still be used in production applications.
96
-
97
105
### SequenceAuthentication
98
106
99
107
This contains code related to authentication via Email + OTP, [OIDC](https://openid.net/developers/how-connect-works/), or other means.
@@ -102,9 +110,13 @@ This contains code related to authentication via Email + OTP, [OIDC](https://ope
102
110
103
111
Defines the `SequenceConfig` scriptable object and scripts needed to read it. Configuration is done in conjunction with the [Sequence Builder](https://sequence.build/).
104
112
113
+
### SequenceEcosystemWallet
114
+
115
+
The integration with our [Ecosystem Wallet](https://docs.sequence.xyz/solutions/wallets/developers/ecosystem-wallet/unity-quickstart). Used to provide users with a seemless and invisible Web3 wallet experience.
116
+
105
117
### SequenceEmbeddedWallet
106
118
107
-
The integration with our [WaaS/Embedded Wallet API](https://docs.sequence.xyz/solutions/wallets/embedded-wallet/overview). Used to provide users with a seemless and invisible Web3 wallet experience.
119
+
The integration with our [Embedded Wallet](https://docs.sequence.xyz/solutions/wallets/developers/embedded-wallet/overview). Used to provide users with a seemless and invisible Web3 wallet experience.
108
120
109
121
### SequenceEthereum
110
122
@@ -141,32 +153,5 @@ EthWallet implements a standard EOA wallet. A wallet keeps track of its own priv
141
153
142
154
### Transaction
143
155
A transaction, as implemented in EthTransaction, contains all the data and parameters for an EVM transaction. The object is used for initiating its RLP encoding (transactions must be signed and RLP encoded when submitted). Note that all transactions are encoded with a chain Id included to protect against replay attacks, see [EIP-155](https://eips.ethereum.org/EIPS/eip-155).
144
-
145
-
### Contract
146
-
A contract is responsible for creating transactions (for method calls) and messages (for queries) agaisnt it. These transactions are later signed by the wallet + signer and submitted (along with query messages) using a client.
147
-
148
-
## Sample UI
149
-
A sample UI scene can be found under `Assets > Sequence > SequenceFrontend > Scenes > Demo.unity`
150
-
This scene contains sample Sequence UI (with integration) for login flow and wallet view, settings, and transaction flow.
151
-
152
-
### How It Works
153
-
The sample Sequence UI is comprised of a few important components.
154
-
155
-
#### UIPage
156
-
A `UIPage` is the base implementation of a "page" in the sample UI. Example pages: `LoginPage`, `TokenInfoPage`
157
-
It is responsible for opening/closing the page and managing the chosen `ITween`.
158
-
159
-
#### ITween
160
-
An `ITween` is an interface for an animation (in/out) that can be applied to a `RectTransform` (a required component of a `UIPage`).
161
-
162
-
#### UIPanel
163
-
Inherriting from `UIPage`, a `UIPanel` is the base implementation of a "panel" in the sample UI. Example panels: `LoginPanel`, `WalletPanel`
164
-
In addition to `UIPage` responsibilities, UIPanels maintain a stack of UIPages and `object[]` (open arguments) and are responsible for managing any required event listeners and UI transitions between their child pages (according to Scene inspector heirarchy), including handling the "Back" button.
165
-
166
-
#### SequenceSampleUI
167
-
`SequenceSampleUI` can be thought of as the "manager" of the sample UI. It holds a reference to all the UIPanels and is responsible for opening them as needed, including at `Start()`. If you are integrating all or part of the provided sample UI into your project, you may find it more practical to replace `SequenceSampleUI` with your own UI "manager".
168
-
169
-
### Customizations + Color Schemes
170
-
As a Made-With-Unity UI, the sample UI is cross platform and easily customizable.
171
156
To make customization even easier, the sample UI comes equipped with a Color Scheme Manager. This monobehaviour script is attached to the `SequenceCanvas` gameObject. By attaching a `ColorScheme` scriptable object and clicking the `Apply` button in the Inspector, the `ColorSchemeManager` will quickly apply the desired color scheme, allowing for faster UI iterations.
172
157
To create a `ColorScheme` scriptable object, go to `Assets > Create > Sequence > Color Scheme`. From here, you can give the color scheme a name, move it to the desired directory, and choose your colors.
0 commit comments