@jup-ag/platform-list 1.2.8 → 1.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist/platforms/jupiter-governance.js +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,22 @@ fetchPlatforms()
|
|
|
34
34
|
});
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
## Contributing
|
|
38
|
+
|
|
39
|
+
We welcome contributions from the community! If you want to add a new platform, smart contract, or service to the registry, please read our [Contributing Guide](CONTRIBUTING.md).
|
|
40
|
+
|
|
41
|
+
### Quick Start for Contributors
|
|
42
|
+
|
|
43
|
+
1. Fork the repository
|
|
44
|
+
2. Create a platform file in `src/platforms/yourplatform.ts`
|
|
45
|
+
3. Add a 64x64 `.webp` image in `img/yourplatform.webp`
|
|
46
|
+
4. Follow the rules:
|
|
47
|
+
- Platform IDs must be lowercase
|
|
48
|
+
- Images must be `.webp` format, 64x64 pixels
|
|
49
|
+
5. Submit a Pull Request
|
|
50
|
+
|
|
51
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed instructions and examples.
|
|
52
|
+
|
|
37
53
|
## Publishing
|
|
38
54
|
|
|
39
55
|
To publish a new version:
|
|
@@ -25,6 +25,13 @@ const asrContract = {
|
|
|
25
25
|
name: "ASR Distributor",
|
|
26
26
|
address: "Dis2TfkFnXFkrtvAktEkw37sdb7qwJgY6H7YZJwk51wK",
|
|
27
27
|
};
|
|
28
|
+
const governanceService = {
|
|
29
|
+
id: `jupiter-governance-vote`,
|
|
30
|
+
name: "Vote",
|
|
31
|
+
platformId: exports.platform.id,
|
|
32
|
+
networkId: portfolio_core_1.NetworkId.solana,
|
|
33
|
+
contractsRaw: [exports.jupiterGovernanceContract, exports.jupiterVoteContract],
|
|
34
|
+
};
|
|
28
35
|
const asrService = {
|
|
29
36
|
id: `${exports.platform.id}-asr`,
|
|
30
37
|
name: "ASR",
|