solrengine 0.2.0 → 1.0.0
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.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/generators/solrengine/install_generator.rb +7 -5
- data/lib/solrengine/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d618afa82647f5adc606b67b5058ee81c47b0c0c50465566c12ad43e3660d28
|
|
4
|
+
data.tar.gz: d0814350a170a287077b74e5a0702ade456191f88c52176aca17b388f57b8b38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5633926c6e5e770991d99ac8d440232312d39bc9de0c02be0c74521970f4c8cb79d073b5980fe8671d596f6684f5f56d39974cf4083d04f8fe89061c06b00420
|
|
7
|
+
data.tar.gz: 47b6afb0d7d4ad6010cee1d3c701241f87b473aadf6a9ca68e338d487d6f33cc147665b5bac7718a0af394c27efb98818b8076e2eea3b66c9860fb86ccecb240
|
data/README.md
CHANGED
|
@@ -59,9 +59,17 @@ Visit `localhost:3000/auth/login` — connect your wallet and sign in.
|
|
|
59
59
|
| [**solrengine-transactions**](https://github.com/solrengine/transactions) | SOL transfers with @solana/kit, confirmation tracking |
|
|
60
60
|
| [**solrengine-realtime**](https://github.com/solrengine/realtime) | WebSocket account monitoring, Turbo Streams push updates |
|
|
61
61
|
| [**solrengine-programs**](https://github.com/solrengine/programs) | Anchor IDL parsing, Borsh serialization, program account models, instruction builders |
|
|
62
|
+
| [**solana-sdp**](https://github.com/solrengine/solana-sdp) | Custodial path — plain-Ruby client for the Solana Developer Platform wallets + payments API |
|
|
63
|
+
| [**solrengine-sdp**](https://github.com/solrengine/sdp) | Custodial path — Rails engine: Wallet-per-User provisioning, tracked transfers, live balances |
|
|
62
64
|
|
|
63
65
|
Each gem can be used independently or together via the `solrengine` meta-gem.
|
|
64
66
|
|
|
67
|
+
### Two custody models
|
|
68
|
+
|
|
69
|
+
The first six gems cover the **connect-your-wallet** path: your users bring their own wallets and keep their own keys. The two SDP gems cover the **Wallet-per-User** path: users sign up with an email and your app provisions a custody wallet for each of them through the [Solana Developer Platform](https://github.com/solana-foundation/solana-developer-platform) (SDP). Both are first-class, and they mix in one app.
|
|
70
|
+
|
|
71
|
+
The SDP gems are not installed by this meta-gem — the custodial path is opt-in (`gem "solrengine-sdp"`), and it has real prerequisites: a running SDP instance, a managed custody provider (e.g. Privy), and Kora as SDP's fee-payment provider. SDP is pre-mainnet and devnet-oriented. See [solrengine.org/docs/sdp](https://solrengine.org/docs/sdp), and the [self-hosting guide](https://solrengine.org/docs/sdp/self-hosting) for running your own SDP instance.
|
|
72
|
+
|
|
65
73
|
## Custom Program Interaction
|
|
66
74
|
|
|
67
75
|
Interact with any Anchor program by generating from its IDL:
|
|
@@ -58,11 +58,13 @@ class Solrengine::InstallGenerator < Rails::Generators::Base
|
|
|
58
58
|
|
|
59
59
|
def setup_cache_yml
|
|
60
60
|
cache_yml = "config/cache.yml"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
return unless File.exist?(cache_yml)
|
|
62
|
+
|
|
63
|
+
%w[development test].each do |env|
|
|
64
|
+
next if File.read(cache_yml).include?("#{env}:\n database: cache")
|
|
65
|
+
gsub_file cache_yml,
|
|
66
|
+
"#{env}:\n <<: *default",
|
|
67
|
+
"#{env}:\n database: cache\n <<: *default"
|
|
66
68
|
end
|
|
67
69
|
end
|
|
68
70
|
|
data/lib/solrengine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solrengine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jose Ferrer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: solrengine-auth
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0.
|
|
47
|
+
version: '0.2'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0.
|
|
54
|
+
version: '0.2'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: solrengine-transactions
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.
|
|
75
|
+
version: '0.2'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.
|
|
82
|
+
version: '0.2'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: solrengine-programs
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|