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
The [Solnet.Examples](https://github.com/bmresearch/Solnet/tree/master/src/Solnet.Examples/) project contains some code examples,
@@ -84,9 +96,14 @@ all you need to do is increment the value that is used to derive that account fr
84
96
### Wallets
85
97
86
98
The [Solnet.Wallet](https://github.com/bmresearch/Solnet/tree/master/src/Solnet.Wallet/) project implements wallet and key generation features, these were made compatible
87
-
with both the keys generated using `solana-keygen` and the keys generated using the popular browser wallet [sollet.io](https://www.sollet.io).
99
+
with both the keys generated using `solana-keygen` and the keys generated using the popular browser wallet [Phantom](https://phantom.app/).
100
+
101
+
#### Initialize a keypair from a secret key
102
+
```c#
103
+
varaccount=Account.FromSecretKey("");
104
+
```
88
105
89
-
#### Initializing a wallet compatible with sollet
106
+
#### Initializing a wallet
90
107
91
108
```c#
92
109
// To initialize a wallet and have access to the same keys generated in sollet (the default)
@@ -161,7 +178,10 @@ with both the [methods expected to be removed in v1.8](https://docs.solana.com/d
161
178
The client factory allows you to pass a `Logger` which implements the `Microsoft.Extensions.Logging.ILogger` interface.
@@ -201,6 +221,17 @@ var subscription = streaminRpcClient.SubscribeSignature(txSig.Result, (subscript
201
221
202
222
### Sending a transaction
203
223
224
+
#### *Important* Understanding priority fees
225
+
Transactions poorly optimized for computation will result in a high drop rate. Always specify compute budget and compute price to make sure your transaction is properly processed. Reference existing transactions to figure out what other users interacting with the same programs are using for average fee price. This allows you to compete with other optimized transactions and increase the chance its always processed.
0 commit comments