Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cumulative PR - omega branch (wRPC v2, integrations, typescript-v2, resolver v2) #506

Merged
merged 190 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
d1bc270
support numeric interface (ip) arg without port in --rpclisten-borsh …
aspect May 26, 2024
109da84
isActive for UtxoProcessor and UtxoContext
aspect May 26, 2024
03b21ba
Script utility functions + WASM changelog update
aspect May 26, 2024
8d993cf
versioned serialization for wRPC
aspect May 31, 2024
63abaf5
spelling
aspect May 31, 2024
bf8b1be
Refactorize State into PoW (#43)
KaffinPX Jun 5, 2024
6dc42dc
TransactionDataT and BindingT (#44)
aspect Jun 5, 2024
804f406
borsh update to 1.5.1
aspect Jun 11, 2024
f60d88d
fix returning receive addr from bindings change addr fn.
aspect Jun 12, 2024
0785c3f
lints
aspect Jun 12, 2024
1d70e77
update WASM changelog
aspect Jun 12, 2024
9c989a4
fix WASM module reference in examples
aspect Jun 12, 2024
7cee4a4
migrate lints.clippy to workspace and inherit this in the relevant cr…
aspect Jun 12, 2024
b578e32
Add provisional fields for storage metrics (db size)
aspect Jun 13, 2024
5ae11ef
fix file creation timestamp issue on some ext4 file systems (updated …
aspect Jun 13, 2024
67f9ae6
Merge branch 'kaspanet:master' into typescript-v2
aspect Jun 13, 2024
a01f400
Merge branch 'kaspanet:master' into typescript-v2
aspect Jun 14, 2024
95c1749
bigint values in TransactionRecord (#48)
aspect Jun 14, 2024
7e609dc
change address decoding panics to errors
aspect Jun 15, 2024
f064ea7
update error messaging
aspect Jun 15, 2024
ce23aa3
Merge branch 'kaspanet:master' into wrpc-serializer
aspect Jun 15, 2024
528eeae
Update for bind/listen compatibility with WRS
aspect Jun 17, 2024
4613314
range support added for transactions pagination (#49)
surinder83singh Jun 17, 2024
423b7a1
lints
aspect Jun 17, 2024
7906a58
WRS 0.13.0
aspect Jun 17, 2024
75194b9
wallet ergonomics helper functions
aspect Jun 18, 2024
a0cbd2c
WRS 0.13.1
aspect Jun 18, 2024
cf53be9
WRS 0.13.1 lock
aspect Jun 18, 2024
55edd8c
WRS 0.13.2
aspect Jun 18, 2024
7830dbb
Merge branch 'master' of github.com:aspectron/rusty-kaspa into sparkle
aspect Jun 18, 2024
82071b5
kaspa-wallet (cli) updates (using latest resolver APIs + guide cleanup)
aspect Jun 18, 2024
738ca07
range support for indexdb store load_range function (#52)
surinder83singh Jun 19, 2024
7248b43
add balance info to account descriptors, additional wallet connectivi…
aspect Jun 20, 2024
8c718a6
Improve ConnectRequest builder interface
aspect Jun 20, 2024
56972d0
Allow UtxoEntryReference to be re-integrated from a flat object struc…
aspect Jun 21, 2024
339421f
indexdb data maintenance: timestamp fix (#53)
surinder83singh Jun 22, 2024
72c46ef
Merge branch 'kaspanet:master' into integrations
aspect Jun 22, 2024
0863666
fix child_number typo
aspect Jun 22, 2024
c178580
allow setting custom transaction maturity periods
aspect Jun 23, 2024
381bacd
fix missing renaming for record.value
aspect Jun 23, 2024
bd197da
fix typedoc references
aspect Jun 23, 2024
67d8046
pre-borsh-1-5-1 compat
aspect Jun 23, 2024
51f9165
testing typedoc
aspect Jun 23, 2024
852a05a
testing typedoc
aspect Jun 23, 2024
1892067
lock typedoc to 0.25.8
aspect Jun 23, 2024
5adffba
disable typedoc treatWarningsAsErrors
aspect Jun 23, 2024
66849f3
deps
aspect Jun 24, 2024
5945bd1
WIP SPK WASM
aspect Jun 25, 2024
4323f96
Cargo.lock
aspect Jun 25, 2024
cecc180
Merge branch 'master' of github.com:aspectron/rusty-kaspa into typesc…
aspect Jun 25, 2024
b0479d3
SPK raw object cast + fix return of ISerializableTransaction
aspect Jun 25, 2024
b25dd29
fix le to be when parsing SPK hex version
aspect Jun 25, 2024
141f82f
remove string version parsing from SPK
aspect Jun 25, 2024
334a56c
update WASM SDK changelog
aspect Jun 26, 2024
8875f83
incorrect balance issue (#55)
surinder83singh Jun 27, 2024
62a91b4
TransactionInput signature_script as Option, add associated TS types
aspect Jun 28, 2024
70bd172
restructure PSKT + WASM scaffolding (WIP)
aspect Jun 28, 2024
1dddd9a
wallet guard implementation to block concurrent async access to accou…
aspect Jun 28, 2024
db213fe
tx serialization example
aspect Jun 29, 2024
fd8d23d
change struct serialization version fields from u32 to u16
aspect Jun 29, 2024
274c866
WIP - decoupling RPC type aliases (#45)
aspect Jun 29, 2024
5b25d9a
Provisional RpcConnection propagation via RpcApi methods (#46)
aspect Jun 29, 2024
2d87f7b
change api version handling affecting get_server_info_call
aspect Jun 29, 2024
d9f7759
Merge branch 'wrpc-serializer' of github.com:aspectron/rusty-kaspa in…
aspect Jun 29, 2024
819bfca
Wallet watch-only accounts (#59)
1bananagirl Jun 29, 2024
859d84e
update resolver to use v2 API
aspect Jun 30, 2024
5b1e4f9
change default resolver subdomains
aspect Jun 30, 2024
babbf64
resolver v2 updates
aspect Jul 2, 2024
2745ab4
Refactorize some addresses and Script related parts (#61)
KaffinPX Jul 4, 2024
fb853c8
fix wasm subscribe_daa_score
aspect Jul 4, 2024
c09b992
Merge branch 'typescript-v2' of github.com:aspectron/rusty-kaspa into…
aspect Jul 4, 2024
efd05eb
expose native RpcClient multiplexer in KaspaRpcClient
aspect Jul 6, 2024
75ce5b2
WIP (local wRPC)
aspect Jul 6, 2024
0a074a3
breakdown wRPC serialization trait into two ser/de; improve future co…
aspect Jul 7, 2024
ac5ac4f
get_connections_call() RPC method + provisional metrics dictionary
aspect Jul 7, 2024
b4b7259
change get_connections() to return the actual value instead of Respon…
aspect Jul 7, 2024
6e2e0e8
priorityEntries implementation for tx generator
aspect Jul 7, 2024
02ac716
fix transaction WASM interface types affecting some function returns
aspect Jul 7, 2024
a392c13
input and output types on transactions (WASM)
aspect Jul 7, 2024
43a6f07
rpc caps
aspect Jul 7, 2024
ab5f01a
Merge branch 'wrpc-serializer' of github.com:aspectron/rusty-kaspa in…
aspect Jul 7, 2024
33d021e
update client resolver resolution
aspect Jul 9, 2024
698a38e
GetSystemInfo RPC call
aspect Jul 9, 2024
1be1002
make priorityEntries optional in the TS interface definition
aspect Jul 9, 2024
c1cd12b
Merge branch 'typescript-v2' of github.com:aspectron/rusty-kaspa into…
aspect Jul 9, 2024
ea2732b
Merge branch 'wrpc-serializer' of github.com:aspectron/rusty-kaspa in…
aspect Jul 9, 2024
6e1bcaf
Merge branch 'cli-resolver' of github.com:aspectron/rusty-kaspa into …
aspect Jul 9, 2024
6361ce6
merge cli-resolver
aspect Jul 9, 2024
f6fd1da
remove resolver crate from workspace (move to https://github.com/aspe…
aspect Jul 9, 2024
4253fb9
WRS 0.14.0
aspect Jul 10, 2024
0d7c696
Merge branch 'sparkle' of github.com:aspectron/rusty-kaspa into merge…
aspect Jul 10, 2024
1d37b63
fix merge mishap
aspect Jul 10, 2024
2c52185
refactor systeminfo + update resolver target generation
aspect Jul 16, 2024
4c0b148
Custom input signatureScript ability (#69)
KaffinPX Jul 16, 2024
4a8f2cd
hex view for ScriptBuilder (#67)
aspect Jul 16, 2024
f6f3382
Merge branch 'typescript-v2' of github.com:aspectron/rusty-kaspa into…
aspect Jul 16, 2024
dc217df
add git_hash to system_id
aspect Jul 18, 2024
94cb8df
add git_hash to system_id
aspect Jul 18, 2024
df206be
wip
aspect Jul 18, 2024
4da95a3
wip
aspect Jul 18, 2024
c417edc
wip
aspect Jul 18, 2024
ad4ab91
refactor git head fetch to use build.rs
aspect Jul 18, 2024
28c6b97
comment
aspect Jul 18, 2024
3b80a8b
split utils/sysinfo into utils/git, refactor utils/build.rs to run gi…
aspect Jul 19, 2024
fa870c1
using WalletGuard, account guard (#73)
surinder83singh Jul 19, 2024
5a9b06e
add short hash to sysinfo, return short hash in GetSystemInfo
aspect Jul 20, 2024
ad6607d
add contributor DNS seeders (gerri and H@H)
aspect Jul 20, 2024
bacfd81
Update phrase.rs (#74)
surinder83singh Jul 20, 2024
c340bcf
Base implementation for PSKB and usage in core account with generator…
1bananagirl Jul 20, 2024
a42e5a1
Merge branch 'pskt-wasm' of github.com:aspectron/rusty-kaspa into ome…
aspect Jul 21, 2024
97b7779
fix missing RPC refs
aspect Jul 21, 2024
a49071f
Update resolver config (WIP)
aspect Jul 21, 2024
2eb1dfd
add version to GetSystemInfoResponse
aspect Jul 21, 2024
0f699f2
fix git version handling
aspect Jul 22, 2024
e0fd3d1
update client-side resolver properties to match current structs
aspect Jul 22, 2024
4be40b1
update resolvers
aspect Jul 22, 2024
d663013
fix kaspa-utils/build.rs to always produce git related env vars.
aspect Jul 23, 2024
a10fc12
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-dev
aspect Jul 23, 2024
c831c53
add git commit hash to WASM32 SDK artifacts during CI build
aspect Jul 23, 2024
0812a7a
fix WASM32 CI build (testing)
aspect Jul 23, 2024
a55905b
fix the default url handling in wRPC client
aspect Jul 23, 2024
779a3ad
Merge branch 'omega-ci-tests' of github.com:aspectron/rusty-kaspa int…
aspect Jul 23, 2024
e180c0b
Key attributes (make XPrv and XPub inspectable) (#77)
aspect Jul 23, 2024
34f958f
Merge branch 'dev' of https://github.com/kaspanet/rusty-kaspa into om…
aspect Jul 25, 2024
54a724e
post merge fixes
aspect Jul 25, 2024
090fb86
Merge RBF (#80)
aspect Jul 25, 2024
766b3c1
createInputSignature() utility function (#79)
KaffinPX Jul 25, 2024
ae4774d
Update docs for ConsensusParams (WASM mass calc)
aspect Jul 25, 2024
dd2e585
fmt
aspect Jul 25, 2024
c5e8994
Merge branch 'dev' of https://github.com/kaspanet/rusty-kaspa into om…
aspect Jul 26, 2024
7501f7d
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-k…
aspect Jul 26, 2024
c657a49
bump wRPC
aspect Jul 26, 2024
f8d90f0
wrs 0.15.0
aspect Jul 26, 2024
762cb9f
replace Uuid.as_ref() to as_bytes()
aspect Jul 26, 2024
e65af3f
assign RpcApiOps variants numerical values
aspect Jul 26, 2024
eb9552c
cleanup
aspect Jul 26, 2024
fad7bd1
Remove WASM32 mass calculator + change createTransaction() signature …
aspect Jul 26, 2024
0532c0b
change OnceCell to LazyLock in wallet-core utxo settings
aspect Jul 26, 2024
c02b7f8
WASM: update signTransaction() signature
aspect Jul 27, 2024
98ba652
fix TS types and method names
aspect Jul 27, 2024
2b7ef08
lints
aspect Jul 27, 2024
f21e3da
split GetConnections counter into separate clients and peers variables
aspect Jul 27, 2024
2a1cff2
fix missing version in GetConnections method
aspect Jul 27, 2024
bf7950c
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-dev
aspect Jul 27, 2024
b660868
Adding type conversion. (#76)
1bananagirl Jul 27, 2024
921278b
fmt
aspect Jul 27, 2024
c293af7
refactor kaspa-metrics to expose some internal methods (needed for ex…
aspect Jul 28, 2024
d947f06
Word count (#83)
surinder83singh Jul 31, 2024
7189192
adding resolver tls option
aspect Aug 1, 2024
e922a4e
cleanup
aspect Aug 3, 2024
02f2566
Improve input signature capability (#85)
KaffinPX Aug 3, 2024
64cdab0
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-dev
aspect Aug 3, 2024
ba31ab9
fix WASM32 PSKT function names
aspect Aug 3, 2024
78adc19
refactor PSKB as a type wrapper + update serialization (#86)
aspect Aug 4, 2024
346be90
Cleanup of unused JSON test file for PSKB and comments (#87)
1bananagirl Aug 4, 2024
7702b9f
PSKB+PSKT merge with omega branch (#82)
aspect Aug 4, 2024
f701c66
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega
aspect Aug 4, 2024
37f11d0
extra new line char removed (#89)
surinder83singh Aug 7, 2024
d35efb7
lock issue on wallet creation (#91)
surinder83singh Aug 10, 2024
7a333d9
wasm cast refs
aspect Aug 18, 2024
3021689
resolver updates
aspect Aug 18, 2024
111d218
CLI review: import cli watch-only changed to watch, PSKB parse view a…
1bananagirl Aug 18, 2024
5793764
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-dev
aspect Aug 18, 2024
82fa0f2
Merge branch 'omega-dev-3' of github.com:aspectron/rusty-kaspa into o…
aspect Aug 18, 2024
5b9f7c5
Merge branch 'dev' of https://github.com/kaspanet/rusty-kaspa into om…
aspect Aug 18, 2024
23c4fbe
WASM RBF (RPC)
aspect Aug 18, 2024
89d9624
WASM FeeEstimate (RPC)
aspect Aug 18, 2024
3448ff8
hex encoding for kaspa_utils::SystemInfo
aspect Aug 18, 2024
8680b00
Some symmetry and type fixes (#93)
KaffinPX Aug 18, 2024
823e46e
update WASM GeneratorSettings::priorityEntries? to accept UtxoEntryRe…
aspect Aug 18, 2024
44e0fbc
Merge branch 'omega' of github.com:aspectron/rusty-kaspa into omega-w…
aspect Aug 19, 2024
1c45172
WASM32 - update resolver casting
aspect Aug 19, 2024
b4beadb
cleanup
aspect Aug 19, 2024
dce55a1
WASM32: remove no longer used WAPI account module
aspect Aug 19, 2024
afef7da
cleanup
aspect Aug 19, 2024
e623372
introduce new rpc header/block types for BBT and SB (#95)
michaelsutton Aug 20, 2024
12cab5f
WASM - Update types for Mnemonic::random()
aspect Aug 20, 2024
33c53de
WASM update deprecated methods in web-sys
aspect Aug 20, 2024
6b7600e
Add bip32 Mnemonic class to kaspa-wasm-sdk-keys build package
aspect Aug 20, 2024
6c3a10e
Merge branch 'omega-wasm-cast-refs' of github.com:aspectron/rusty-kas…
aspect Aug 20, 2024
7766ebd
misc dependency updates
aspect Aug 20, 2024
f5fd25a
Introduce profile data to GetConnections RPC method
aspect Aug 20, 2024
18012e8
WASM update TS declarations for wallet events
aspect Aug 22, 2024
637298b
Merge branch 'dev' of https://github.com/kaspanet/rusty-kaspa into om…
aspect Aug 22, 2024
b7fcdd3
Merge branch 'dev' of https://github.com/kaspanet/rusty-kaspa into om…
aspect Aug 22, 2024
45c413d
fix WASM sdk submitTransaction API (#96)
IgorKhomenko Aug 23, 2024
7d00169
Add custom Debug to GetSystemInfoResponse
aspect Aug 23, 2024
b3a55f5
Add HexString type to ITransactionOutput::scriptPublicKey
aspect Aug 23, 2024
5e0f994
Merge branch 'dev' into omega
michaelsutton Aug 26, 2024
9cec077
fix camelCase on RpcTransactionOutpoint
aspect Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:


check-wasm32:
name: Check Wasm32
name: Check WASM32
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -274,12 +274,16 @@ jobs:
run: cargo clippy -p kaspa-wasm --target wasm32-unknown-unknown

build-wasm32:
name: Build Wasm32
name: Build WASM32 SDK
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup Environment
shell: bash
run: echo "SHORT_SHA=`git rev-parse --short HEAD`" >> $GITHUB_ENV

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
Expand Down Expand Up @@ -337,8 +341,19 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build wasm release
run: cd wasm && bash build-release

run: |
pushd .
cd wasm
bash build-release
popd
mv wasm/release/kaspa-wasm32-sdk.zip wasm/release/kaspa-wasm32-sdk-${{ env.SHORT_SHA }}.zip

- name: Upload WASM build to GitHub
uses: actions/upload-artifact@v4
with:
name: kaspa-wasm32-sdk-${{ env.SHORT_SHA }}.zip
path: wasm/release/kaspa-wasm32-sdk-${{ env.SHORT_SHA }}.zip

build-release:
name: Build Ubuntu Release
runs-on: ubuntu-latest
Expand Down
Loading