![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@audius/anchor-audius-data
Advanced tools
Readme
Implementation of audius data layer in Anchor (Solana framework)
./cli/
- CLI to interact with deployed instance of AudiusData, has helpers as well for reuse in shared libs layer
./lib/
- Typescript bindings for program interaction, shared with programs/tests and cli/
- Utils typescript located here as well
./programs/
src/
- Program source code deployed to blockchain
- Single file, lib.rs
tests/
- Unit tests to validate program functionality
npm run install-dev
solana-test-validator
npm run build-dev
npm run localnet-up
npm run deploy-dev
npm run localnet-down && npm test
Note that if you get error logs during tests but tests still pass, you can ignore the logs.
As a prerequisite, you should run npm run localnet-up
and npm run deploy-dev
to deploy your program to the solana test validator.
To deploy program and seed tx, simply run npm run localnet-up
in one window and then run npm run dev-setup
in another.
See README.
Validate any tx:
solana confirm <txhash>
Open up logs (in a dedicated shell) - this usually has more detailed error info:
solana logs
Check balance:
solana balance
Check an account:
solana account <acct-pubkey-or-path-to-storage-keypair.json>
Check a program:
solana program show <program-id>
Airdrop funds:
solana airdrop <num SOL> <pubkey-or-path-to-storage-keypair.json>
Can also specify a particular cluster at deploy time, per the following:
anchor deploy --provider.cluster https://audius.rpcpool.com/
Deploying workspace: https://audius.rpcpool.com/
Upgrade authority: /Users/hareeshnagaraj/.config/solana/id.json
Deploying program "audius-data"...
Program path: /Users/hareeshnagaraj/Development/audius-protocol/solana-programs/anchor/audius-data/target/deploy/audius_data.so...
Program Id: EoDXzUBiESoz9FEYdTScXgmfmzBKDRLVxgnNkFjpKtJc
https://github.com/project-serum/anchor/blob/master/lang/src/error.rs
FAQs
Audius solana anchor js bindings
The npm package @audius/anchor-audius-data receives a total of 1 weekly downloads. As such, @audius/anchor-audius-data popularity was classified as not popular.
We found that @audius/anchor-audius-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.