Almost everything you may want to do with NeoFS will require access to a wallet. Here are a few handy ways to get a wallet
Imports
Retrieve from a NEP-6 file (json format)
Create a new wallet
This wallet has no password but is the simplest form of wallet that you can generate
A slighty more secure wallet... with a password
Retrieving the private key from a wallet
Sometimes for specific actions you will need the private key of the wallet. If you have the password you can extract the private key
Notice this decrypts the wallet. At this point the wallet is considered "unlocked". Sometimes you may find you are performing an action on a walelt and the error is it is locked. The result of decrypting is unlocking the wallet.
Retrieving wallet balances
Often you will want to know the balances on a wallet. There is a potential minor confusion at this stage. Neo N3 wallets store NEP-17 coins. Both Neo and Gas are NEP 17 currencies, however any currency you or someone else may make could also be a NEP-17 currency. There are other standards such as NEP-11 and the difference I will leave to you to read about.
However, NeoFS has a smart contract in which you need to transfer Gas to, so that you can pay for NeoFS storage space. This balance won't show up in your wallet balance.
To retrieve you wallet's NEP-17 balances you will need to create a wallet client.
You will need
A wallet address you want to get the balances of
Transferring NEP-17 tokens
A major part of blockchain technology is to be able to transfer tokens to other wallets (including sending GAS to the NeoFS smart contract).
You will need
An unlocked wallet myWallet
A wallet to send Nep17 to walletTo
The amount you would like to send (as an int64 - no decimals in blockchain remember!)
The token you would like to send. To retrieve the token, you need the token name to get the contract hash
then
the txHash is reversed in its uint256 state. You need to reverse it so that it matches the txHashes you would find in a blockchain explorer for instance, hence the le := txHash.StringLE()
NeoFS Balance
However this balance as I mentioned, does not include your NeoFS balance. For that you need a NeoFS client
Once you have this, you can now retrieve your NeoFS balance