As a an example you can check [`examples`](https://gitlab.syncad.com/hive/hive/-/tree/master/programs/beekeeper/examples) in this project.
### Importing and removing keys from a wallet
Note: between different beekeeper instances, session names can be repeated, but not the wallet names!
For salts, you should always use strong random values, such as `crypto.randomUUID()`. Also, remember to always use strong passwords for wallets!
For simplicity, and as `crypto` API may not be available in all environments, we are using `Math.random()` for salt generation. As for passwords, we are using simple strings. **Do not use this approach in production!**
```js
importbeekeeperFactoryfrom'@hiveio/beekeeper';
constbeekeeper=awaitbeekeeperFactory();
// Create a session with a salt (can be any string, but should be unique per user)
See API documentation at [project WIKI](https://gitlab.syncad.com/hive/beekeeper-doc/-/wikis/home)
Some users may want to use beekeeper in a Vite-bundled project, such as Next / Nuxt projects.
And as we are using WebAssembly (WASM) under the hood, we need to ensure that the WASM file is properly loaded.
To do so, we prepared a special import path that points to a Beekeeper build with special Vite `?url` WASM import.
## Support and tests
Note: This only applies for browser environments if you are using Vite as your bundler. If you are using Webpack or other bundlers, you can use the default import path.