Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/spl-governance

Package Overview
Dependencies
Maintainers
12
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/spl-governance - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

package.json
{
"name": "@solana/spl-governance",
"version": "0.0.1",
"version": "0.0.2",
"description": "SPL Governance Client API",
"author": "Solana Maintainers <maintainers@solana.foundation>",
"homepage": "https://github.com/solana-labs/oyster#readme",
"homepage": "https://github.com/solana-labs/oyster/blob/main/packages/governance-sdk/README.md",
"license": "MIT",

@@ -31,3 +31,8 @@ "main": "lib/index.js",

"dependencies": {
"superstruct": "^0.15.2"
"superstruct": "^0.15.2",
"@solana/web3.js": "^1.22.0",
"bn.js": "^5.1.3",
"bs58": "^4.0.1",
"borsh": "^0.3.1",
"@solana/wallet-adapter-base": "^0.6.0"
},

@@ -34,0 +39,0 @@ "devDependencies": {

@@ -8,2 +8,8 @@ # `governance-sdk`

```typescript
import { withCreateRealm } from "@solana/spl-governance";
import { getRealms } from '@solana/spl-governance';
const governanceProgramId = new PublicKey('GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw');
const rpcEndpoint = "https://api.mainnet-beta.solana.com";
const realms = getRealms(rpcEndpoint, governanceProgramId);
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