Go to file
dependabot[bot] d4188db32e
chore: bump @solana/spl-token from 0.1.5 to 0.1.6 in /web3.js (#18121)
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases)
- [Commits](https://github.com/solana-labs/solana-program-library/compare/@solana/spl-token@v0.1.5...@solana/spl-token@v0.1.6)

---
updated-dependencies:
- dependency-name: "@solana/spl-token"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:57:10 -05:00
.buildkite
.github
.travis
account-decoder chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
accounts-bench
accounts-cluster-bench
banking-bench
banks-client chore: bump mio from 0.7.11 to 0.7.13 (#18190) 2021-06-24 22:32:47 -06:00
banks-interface chore: bump mio from 0.7.11 to 0.7.13 (#18190) 2021-06-24 22:32:47 -06:00
banks-server chore: bump mio from 0.7.11 to 0.7.13 (#18190) 2021-06-24 22:32:47 -06:00
bench-exchange chore: bump serde_yaml from 0.8.13 to 0.8.17 (#18169) 2021-06-23 09:44:34 -06:00
bench-streamer
bench-tps chore: bump serde_yaml from 0.8.13 to 0.8.17 (#18169) 2021-06-23 09:44:34 -06:00
ci ci: add wrapper script for running ci locally 2021-06-24 22:14:54 -06:00
clap-utils chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
cli chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
cli-config chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
cli-output Only print Foundation inflation rate if it is greater than 0 2021-06-26 13:39:00 -07:00
client chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
core More detailed voting timings in replay stage (#18229) 2021-06-26 17:32:08 +02:00
crate-features chore: bump curve25519-dalek from 2.1.0 to 3.0.0 (#18188) 2021-06-24 22:32:32 -06:00
docs Zelcore wallet support for SOL/SPLs info added (#17580) 2021-06-26 17:01:08 +00:00
dos chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
download-utils
explorer chore:(deps): bump prettier from 2.3.1 to 2.3.2 in /explorer (#18266) 2021-06-28 08:43:53 +00:00
faucet chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
frozen-abi
genesis chore: bump serde_yaml from 0.8.13 to 0.8.17 (#18169) 2021-06-23 09:44:34 -06:00
genesis-utils
gossip removes repeated calls to ClusterInfo::id in iterators and contact-info clone (#18174) 2021-06-23 16:30:14 +00:00
install chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
keygen
ledger Add batch stats (#18096) 2021-06-22 15:23:26 +02:00
ledger-tool chore: bump serde_yaml from 0.8.13 to 0.8.17 (#18169) 2021-06-23 09:44:34 -06:00
local-cluster Enable previously flaky optimistic detection local cluster test (#18128) 2021-06-21 18:01:27 -07:00
log-analyzer
logger chore: bump env_logger from 0.8.3 to 0.8.4 (#18224) 2021-06-25 11:28:09 -06:00
measure
merkle-root-bench
merkle-tree
metrics chore: bump env_logger from 0.8.3 to 0.8.4 (#18224) 2021-06-25 11:28:09 -06:00
multinode-demo
net
net-shaper
net-utils chore: bump url from 2.2.0 to 2.2.2 (#18170) 2021-06-23 14:54:50 -06:00
notifier
perf chore: bump curve25519-dalek from 2.1.0 to 3.0.0 (#18188) 2021-06-24 22:32:32 -06:00
poh chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
poh-bench
program-test chore: bump mio from 0.7.11 to 0.7.13 (#18190) 2021-06-24 22:32:47 -06:00
programs Don't update if already an executable 2021-06-26 19:19:26 -06:00
rayon-threadlimit
rbpf-cli
remote-wallet chore: bump hidapi from 1.2.5 to 1.2.6 (#18088) 2021-06-21 11:28:47 -06:00
rpc Add metrics for rpc send-tx failures (#18156) 2021-06-22 19:54:52 -06:00
runtime Don't update if already an executable 2021-06-26 19:19:26 -06:00
scripts
sdk Bump bpf-tools version to 1.12 2021-06-25 18:00:44 -07:00
stake-accounts
storage-bigtable chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
storage-proto chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
streamer
sys-tuner
system-test
tokens chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
transaction-status chore: bump bincode from 1.3.1 to 1.3.3 (#18087) 2021-06-21 16:06:31 +00:00
upload-perf
validator Remove redundant JsonRpcConfig::identity_pubkey field 2021-06-22 17:20:11 -07:00
version
watchtower
web3.js chore: bump @solana/spl-token from 0.1.5 to 0.1.6 in /web3.js (#18121) 2021-06-28 08:57:10 -05:00
.clippy.toml
.codecov.yml
.gitignore
.mergify.yml
.travis.yml
CONTRIBUTING.md
Cargo.lock chore: bump blake3 from 0.3.7 to 0.3.8 (#18223) 2021-06-25 11:44:52 -06:00
Cargo.toml
LICENSE
README.md Update README.md (#18191) 2021-06-24 09:29:49 -06:00
RELEASE.md
SECURITY.md
cargo
cargo-build-bpf
cargo-test-bpf
fetch-perf-libs.sh
fetch-spl.sh
run.sh
test-abi.sh

README.md

Solana

Solana crate Solana documentation Build status codecov

Building

1. Install rustc, cargo and rustfmt.

$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmt

Please make sure you are always using the latest stable rust version by running:

$ rustup update

On Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, etc. On Ubuntu:

$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make

On Mac M1s, make sure you set up your terminal & homebrew to use Rosetta. You can install it with:

$ softwareupdate --install-rosetta

2. Download the source code.

$ git clone https://github.com/solana-labs/solana.git
$ cd solana

3. Build.

$ cargo build

4. Run a minimal local cluster.

$ ./run.sh

Testing

Run the test suite:

$ cargo test

Starting a local testnet

Start your own testnet locally, instructions are in the online docs.

Accessing the remote development cluster

  • devnet - stable public cluster for development accessible via devnet.solana.com. Runs 24/7. Learn more about the public clusters

Benchmarking

First install the nightly build of rustc. cargo bench requires use of the unstable features only available in the nightly build.

$ rustup install nightly

Run the benchmarks:

$ cargo +nightly bench

Release Process

The release process for this project is described here.

Code coverage

To generate code coverage statistics:

$ scripts/coverage.sh
$ open target/cov/lcov-local/index.html

Why coverage? While most see coverage as a code quality metric, we see it primarily as a developer productivity metric. When a developer makes a change to the codebase, presumably it's a solution to some problem. Our unit-test suite is how we encode the set of problems the codebase solves. Running the test suite should indicate that your change didn't infringe on anyone else's solutions. Adding a test protects your solution from future changes. Say you don't understand why a line of code exists, try deleting it and running the unit-tests. The nearest test failure should tell you what problem was solved by that code. If no test fails, go ahead and submit a Pull Request that asks, "what problem is solved by this code?" On the other hand, if a test does fail and you can think of a better way to solve the same problem, a Pull Request with your solution would most certainly be welcome! Likewise, if rewriting a test can better communicate what code it's protecting, please send us that patch!

Disclaimer

All claims, content, designs, algorithms, estimates, roadmaps, specifications, and performance measurements described in this project are done with the Solana Foundation's ("SF") best efforts. It is up to the reader to check and validate their accuracy and truthfulness. Furthermore nothing in this project constitutes a solicitation for investment.

Any content produced by SF or developer resources that SF provides, are for educational and inspiration purposes only. SF does not encourage, induce or sanction the deployment, integration or use of any such applications (including the code comprising the Solana blockchain protocol) in violation of applicable laws or regulations and hereby prohibits any such deployment, integration or use. This includes use of any such applications by the reader (a) in violation of export control or sanctions laws of the United States or any other applicable jurisdiction, (b) if the reader is located in or ordinarily resident in a country or territory subject to comprehensive sanctions administered by the U.S. Office of Foreign Assets Control (OFAC), or (c) if the reader is or is working on behalf of a Specially Designated National (SDN) or a person subject to similar blocking or denied party prohibitions.

The reader should be aware that U.S. export control and sanctions laws prohibit U.S. persons (and other persons that are subject to such laws) from transacting with persons in certain countries and territories or that are on the SDN list. As a project based primarily on open-source software, it is possible that such sanctioned persons may nevertheless bypass prohibitions, obtain the code comprising the Solana blockchain protocol (or other project code or applications) and deploy, integrate, or otherwise use it. Accordingly, there is a risk to individuals that other persons using the Solana blockchain protocol may be sanctioned persons and that transactions with such persons would be a violation of U.S. export controls and sanctions law. This risk applies to individuals, organizations, and other ecosystem participants that deploy, integrate, or use the Solana blockchain protocol code directly (e.g., as a node operator), and individuals that transact on the Solana blockchain through light clients, third party interfaces, and/or wallet software.