Skip to content

Commit

Permalink
docs: Update README.md (#1652)
Browse files Browse the repository at this point in the history
fix network import
  • Loading branch information
dantrevino authored Mar 11, 2024
1 parent bb0b85d commit 7a11d0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wallet-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ const mainnetAddress = getStxAddress({ account, transactionVersion: TransactionV
You can generate signed transactions by following the documentation from `@stacks/transactions`. Use the `stxPrivateKey` of an account as the `senderKey` option when creating a transaction.

```ts
import { makeSTXTokenTransfer, StacksMainnet } from '@stacks/transactions';
import { StacksMainnet } from '@stacks/network';
import { makeSTXTokenTransfer } from '@stacks/transactions';

const network = new StacksMainnet();

Expand Down

0 comments on commit 7a11d0b

Please sign in to comment.