Socket
Socket
Sign inDemoInstall

@solana/web3.js

Package Overview
Dependencies
Maintainers
1
Versions
1814
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/web3.js - npm Package Compare versions

Comparing version 0.11.9 to 0.11.10

32

bpf-sdk/README.md

@@ -24,3 +24,2 @@

### macOS
The following depends on Homebrew, instructions on how to install Homebrew are at https://brew.sh

@@ -35,1 +34,32 @@

## Development
### Quick start
To get started create a `makefile` containing:
```make
include path/to/bpf.mk
```
and `src/program.c` containing:
```c
#include <solana_sdk.h>
bool entrypoint(const uint8_t *input) {
SolKeyedAccounts ka[1];
uint8_t *data;
uint64_t data_len;
if (!sol_deserialize(buf, ka, SOL_ARRAY_SIZE(ka), NULL, &data, &data_len)) {
return false;
}
print_params(1, ka, data, data_len);
return true;
}
```
Then run `make` to build `out/program.o`.
Run `make help` for more details.
### Limitations
* Programs must be fully contained within a single .c file
* No libc is available but `solana_sdk.h` provides a minimal set of
primitives.

4

bpf-sdk/version.txt

@@ -1,2 +0,2 @@

0.10.0
f6b709ca48f3f54df852e1828acdda55bbb4ac7a
0.10.1
3345d059e8f20c24686e93f66bfaa72be3a5f481
{
"name": "@solana/web3.js",
"version": "0.11.9",
"version": "0.11.10",
"description": "Solana Javascript API",

@@ -47,3 +47,3 @@ "keywords": [

"codecov": "npm run test:cover && cat ./coverage/lcov.info | codecov",
"fetch-bpf-sdk": "test -d bpf-sdk || curl http://solana-sdk.s3.amazonaws.com/0.10.0/bpf-sdk.tar.bz2 | tar jxv",
"fetch-bpf-sdk": "test -d bpf-sdk || curl http://solana-sdk.s3.amazonaws.com/0.10.1/bpf-sdk.tar.bz2 | tar jxv",
"flow": "flow stop; flow-typed install jest@22 && flow",

@@ -50,0 +50,0 @@ "flow:watch": "flow stop; watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc