Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ifiokjr/wasm_solana
Wasm binding for solana using rust in the browser.
https://github.com/ifiokjr/wasm_solana
adapter anchor browser solana wallet wasm
Last synced: 4 months ago
JSON representation
Wasm binding for solana using rust in the browser.
- Host: GitHub
- URL: https://github.com/ifiokjr/wasm_solana
- Owner: ifiokjr
- License: unlicense
- Created: 2024-08-29T10:43:14.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T04:08:13.000Z (4 months ago)
- Last Synced: 2024-10-11T04:08:31.446Z (4 months ago)
- Topics: adapter, anchor, browser, solana, wallet, wasm
- Language: Rust
- Homepage:
- Size: 979 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
solana development with rust based wasm
Getting Started ·
Why? ·
Plans ·
Documentation ·
Contributing
## Description
See the individual crates for more information.
### scripts
- `anchor`: The `anchor` executable
- `build:all`: Build all crates with all features activated.
- `build:docs`: Build documentation site.
- `copy:js`: Copy the JS needed for the `wallet_standard_browser`.
- `coverage:all`: Run coverage across the crates
- `fix:all`: Fix all autofixable problems.
- `fix:clippy`: Fix clippy lints for rust.
- `fix:es`: Fix lints for JS / TS.
- `fix:format`: Format files with dprint.
- `generate:keypair`: Generate a local solana keypair. Must provide a name.
- `install:all`: Install all packages.
- `install:cargo:bin`: Install cargo binaries locally.
- `install:solana`: Install the version of solana or use one from the cache.
- `lint:all`: Run all checks.
- `lint:clippy`: Check that all rust lints are passing.
- `lint:es`: Check lints for all JS / TS files.
- `lint:format`: Check that all files are formatted.
- `release-plz`: The `release-plz` executable
- `setup:ci`: Setup devenv for GitHub Actions
- `setup:docker`: Setup devenv shell for docker.
- `setup:helix`: Setup for the helix editor.
- `setup:vscode`: Setup the environment for vscode.
- `test:all`: Run all tests across the crates
- `update:deps`: Update dependencies.## Contributing
[`devenv`](https://devenv.sh/) is used to provide a reproducible development environment for this project. Follow the [getting started instructions](https://devenv.sh/getting-started/).
To automatically load the environment you should [install direnv](https://devenv.sh/automatic-shell-activation/) and then load the `direnv`.
```bash
# The security mechanism didn't allow to load the `.envrc`.
# Since we trust it, let's allow it execution.
direnv allow .
```At this point you should see the `nix` commands available in your terminal. Any changes made to the `.envrc` file will require you to run the above command again.
Run the following commands to install all the required dependencies.
```bash
install:all
```This installs all the node dependencies, cargo binaries and solana tooling locally so you don't need to worry about polluting your global namespace.
### Upgrading `devenv`
If you have an outdated version of `devenv` you can update it by running the following commands. If you have an easier way, please create a PR and I'll update these docs.
```bash
nix profile list # find the of the devenv package
nix profile upgrade
```### Editor Setup
To setup recommended configuration for your favorite editor run the following commands.
```bash
setup:vscode # Setup vscode
```## License
Unlicense, see the [LICENSE](./license) file.