Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
0f4c027
fix bug with custom http timeout overriding default config
woodser Jun 21, 2023
c32d29b
support setting log level in native monero-project
woodser Jun 21, 2023
00555a0
update dist and monero-cpp
woodser Jun 21, 2023
4022615
test creating new directory with moveTo()
woodser Jul 16, 2023
de5a2e7
support subtracting fee from destinations
woodser Jul 16, 2023
9623240
prefix windows paths from any drive letter
woodser Jul 18, 2023
b27f8bf
refactor mnemonic to seed (breaking change)
woodser Jul 19, 2023
3df333b
view-only wallets throw on get seed, language, or spend key
woodser Jul 20, 2023
e70f2ef
do not throw when getting missing txs from wallet
woodser Jul 20, 2023
d2f3e96
rename unlock height to unlock time and use BigInteger (breaking change)
woodser Jul 23, 2023
19f1221
enable restore from multisig seed (experimental)
woodser Jul 24, 2023
230d9ae
reconcile tx.isIncoming() to become true when outputs confirmed
woodser Jul 24, 2023
9e6fa99
bump version to v0.8.0
woodser Jul 24, 2023
9e8d87c
update monero-cpp submodule
woodser Jul 24, 2023
254d6b8
update jsdocs
woodser Jul 24, 2023
3dcde4e
update dist
woodser Jul 24, 2023
8c764a0
update docs from mnemonic to seed
woodser Jul 25, 2023
aad034f
fix in MoneroSubaddress.toString()
woodser Aug 7, 2023
e57ee45
export MoneroFeeEstimate daemon model
woodser Aug 7, 2023
f41a651
support Node.js 18 LTS with --no-experimental-fetch flag
woodser Aug 7, 2023
4e6f1ac
fix 'multsig' typo
woodser Aug 10, 2023
c777864
fix poll counter for monero-wallet-rpc which could stop polling
woodser Aug 11, 2023
ea0cb7d
add --force flag to npm install in build_all.sh
woodser Aug 24, 2023
9a1961c
fix test name
woodser Aug 18, 2023
610049e
fix multisig test to restore participant from seed and exchange keys
woodser Aug 24, 2023
8632aed
patch memory leaks in wasm bridge, add memory test
woodser Aug 24, 2023
537e6e0
bump version to v0.8.1
woodser Aug 24, 2023
9fc2d75
update dist and monero-cpp
woodser Aug 24, 2023
8cbaa2f
sync and save test wallets on start
woodser Aug 28, 2023
c389616
bump version to v0.8.2
woodser Aug 31, 2023
eae1306
expect multiple txs with one address when sweeping with rpc
woodser Sep 1, 2023
5579cd2
add consistency check for unconfirmed txs with block after merging
woodser Sep 1, 2023
d09260d
wallet config uses MoneroRpcConnection for server model
woodser Sep 1, 2023
b32754b
delete worker objects with random id on callback
woodser Sep 1, 2023
bc802d4
update monero-cpp submodule
woodser Sep 1, 2023
7efbaf0
update jsdocs
woodser Sep 1, 2023
f9136e0
update dist
woodser Sep 1, 2023
f7a7d9e
bump version to v0.8.3
woodser Sep 6, 2023
d3f1147
connection manager switches to better connection, integrates with wallet
woodser Sep 7, 2023
b41f4f6
measure connection quality by first 100 blocks by default
woodser Sep 6, 2023
d15f2e6
update jsdocs
woodser Sep 7, 2023
bcd7b23
update monero-cpp and dist
woodser Sep 7, 2023
6874b02
bump version to v0.8.4
woodser Sep 7, 2023
6f3d68c
check connection preloads keys module for reliable measurement
woodser Sep 7, 2023
6fc5200
update dist
woodser Sep 7, 2023
1ad91a3
use IPv4 family to resolve ECONNREFUSED on node
woodser Sep 12, 2023
330e75a
bump version to v0.9.0
woodser Sep 19, 2023
eae1da9
support typescript and rename project to monero-ts (#108)
woodser Oct 1, 2023
42d3a4d
update typedocs
woodser Oct 1, 2023
af4d3ec
update readme to import monero-ts in your project
woodser Oct 1, 2023
bc94071
EXPORT_NAME=monero_ts
woodser Oct 1, 2023
f632094
fix typedoc links and disable typedoc sources
woodser Oct 1, 2023
9a2100e
update typedocs
woodser Oct 1, 2023
1ac9189
update dist with types and commonjs build
woodser Oct 1, 2023
2185b03
remove jquery-csv dev dependency
woodser Oct 2, 2023
e5dcda0
update dist and typedocs
woodser Oct 2, 2023
7fa3f47
bump version to v0.9.1
woodser Oct 2, 2023
e15530d
update dist and typedocs
woodser Oct 2, 2023
dc1e69d
bump version to v0.9.2
woodser Oct 2, 2023
eaea198
copy wasm artifacts to dist/dist for commonjs builds
woodser Oct 2, 2023
cc765ae
update dist
woodser Oct 2, 2023
c7fac19
Patch 1 (#142)
samleegithub Oct 2, 2023
be96240
update links and references
woodser Oct 3, 2023
af65496
remove unused todo.tx and test.txt
woodser Oct 3, 2023
b060786
MoneroWallet.ts constructor is private, update typedocs
woodser Oct 3, 2023
b63610b
update data model png
woodser Oct 3, 2023
3fee17f
use absolute link to architecture.png for typedocs
woodser Oct 3, 2023
3eeece9
update link to architecture.png to raw image for typedocs
woodser Oct 3, 2023
c567665
bump monero-project to v0.18.3.1
woodser Oct 11, 2023
93d5e86
fix bug handling proxyToWorker setting
woodser Oct 11, 2023
a438520
add field comments to MoneroTxConfig, MoneroWalletConfig, MoneroDaemo…
woodser Oct 11, 2023
c0699ef
cleanup error messages
woodser Oct 11, 2023
ad661fd
bump version to v0.9.3
woodser Oct 12, 2023
d761b70
update dist, typedocs, and monero-cpp submodule
woodser Oct 12, 2023
53cf8b3
add @babel/runtime dependency
dutu Oct 23, 2023
1117814
signTxs() returns MoneroTxSet instead of string
woodser Nov 5, 2023
f16de62
bump version to 0.9.4
woodser Nov 11, 2023
92015db
update boost to 1.83.0
woodser Nov 7, 2023
a67d74c
reorganize index.ts
woodser Nov 9, 2023
4c6e6fd
build commonjs before starting wallet rpc test servers
woodser Nov 11, 2023
6a5715e
npm audit fix dependency vulnerabilities
woodser Nov 11, 2023
39c8506
test improved error message from monero-project #8493
woodser Nov 11, 2023
20c9b29
update typedocs
woodser Nov 11, 2023
bfc62cb
update dist and monero-cpp submodule
woodser Nov 11, 2023
ff59301
add scripts windows compatibility
dutu Nov 23, 2023
4f7c5c1
bug fixes updating best connection among responses
woodser Nov 19, 2023
9b3ca10
update to unbound 1.19.0
woodser Jan 6, 2024
66198ff
update to Node LTS 20 and remove --experimental-wasm-threads flag
woodser Jan 6, 2024
cfd70c5
fix potential npe in wallet rpc startSyncing()
woodser Jan 6, 2024
c81c33e
test blockchain prune returning false
woodser Jan 7, 2024
b7576c4
update build instructions
woodser Jan 7, 2024
4cbc05c
bump version to 0.9.5
woodser Jan 7, 2024
f62e36a
update dist and monero-cpp submodule
woodser Jan 7, 2024
0c875ea
update links to documentation
woodser Jan 18, 2024
c4329c2
add moneroTs default export
dutu Jan 25, 2024
bd158c4
update links to documentation
dutu Jan 25, 2024
5b24971
fix stacktrace on error starting daemon or wallet process
woodser Jan 17, 2024
5b87c09
set worker dist path agnostic to operating system
woodser Jan 18, 2024
a46ea22
update repository links
woodser Jan 21, 2024
4d8c417
fix loading wasm module concurrently #173
woodser Jan 22, 2024
3fa491e
catch and print errors invoking listeners #171
woodser Jan 26, 2024
9b38907
add connection manager description to docs
woodser Jan 24, 2024
96daaa0
cancel timeout promise on successful http response #172
woodser Jan 24, 2024
a7c7cc6
apply timeout checking connection
woodser Jan 24, 2024
50e321b
support opening wallet with connection manager
woodser Jan 27, 2024
8a43b08
factor out _isClosed to MoneroWallet
woodser Jan 27, 2024
0d47eee
relax unexpected error message in makeMultisig test to warning
woodser Jan 27, 2024
38c7724
build with emmalloc
woodser Jan 27, 2024
6560168
delete wallet from worker on close
woodser Jan 27, 2024
45ce185
update syntax 'import moneroTs from "monero-ts"'
woodser Jan 27, 2024
940ae11
update monero-cpp submodule
woodser Jan 27, 2024
3624aec
bump version to 0.9.6
woodser Jan 27, 2024
41ab878
update typedocs
woodser Jan 27, 2024
1b210dc
update dist
woodser Jan 27, 2024
046785f
update more links from monero-ecosystem move
woodser Jan 27, 2024
4dffd5a
upgrade web-worker to 1.3.0
Feb 19, 2024
1475824
add bounty system
woodser Feb 24, 2024
5b6a635
remove manually setting 'cn' in CMakeLists.txt from instructions
woodser Mar 10, 2024
5354755
do not build with emmalloc
woodser Feb 3, 2024
608f67a
support opening wallet keys file without cache
woodser Feb 5, 2024
ec89eba
replace BigInt("X") syntax with Xn
woodser Feb 5, 2024
079bed2
fix sanity check failure in input key image test by avoiding subaddre…
woodser Feb 9, 2024
466b6b6
do not loop send to multiple test
woodser Feb 15, 2024
676351a
document using --no-experimental-fetch flag for node >16
woodser Mar 12, 2024
592166a
update sample code
woodser Mar 12, 2024
4ef31d5
update to monero-project v0.18.3.3
woodser Mar 13, 2024
173369e
bump version to v0.9.7
woodser Mar 13, 2024
bd247f6
update dist
woodser Mar 13, 2024
93322f3
update typedocs
woodser Mar 13, 2024
62b299b
re-add manually setting 'cn' in CMakeLists.txt to instructions
woodser Mar 19, 2024
df3b249
reorder build instructions
woodser Mar 19, 2024
0573c5f
document legacy openssl provider to avoid failed to parse error
woodser Mar 26, 2024
f70ace6
refactor readme documentation
woodser Apr 2, 2024
e7122c6
fix failed to parse url in nextjs #205
0-don Jul 3, 2024
6ed3c32
sample code test waits for unlocked balance
woodser Mar 29, 2024
032a01d
fix documentation for wallet rpc getBalances()
woodser Apr 2, 2024
23a6dbc
add 'web-worker' to nodejs externals
woodser Apr 12, 2024
f78826d
fix wallet rpc poll snapshot based on previous balances
woodser Apr 13, 2024
c453b9e
add default rpc error message when missing
woodser Apr 15, 2024
bef9c09
keep best connection if not enough data
woodser Apr 23, 2024
75861c7
fix connection manager test by increasing auto connect timeout
woodser Apr 26, 2024
135dff1
multisig test restores from latest height
woodser Apr 27, 2024
724bb4c
override default rpc timeout with getRpcConnection().setTimeout()
woodser Apr 28, 2024
db4744c
TaskLooper does not target fixed period by default
woodser Jul 2, 2024
8488ff4
move documentation section above using in your project
woodser Jul 3, 2024
1503b1d
handle exceptions in scan_txs by adding to whitelist
woodser Jul 4, 2024
49c6678
wallet.getNumBlocksToUnlock() ignores timestamp unlock time
woodser Jul 4, 2024
bb8d91a
start monerod and monero-wallet-rpc from cmd in english
woodser Jul 4, 2024
61bcd30
bump version to 0.9.8
woodser Jul 4, 2024
60fed86
update dist and monero-cpp submodule
woodser Jul 4, 2024
2c0f19b
update typedocs
woodser Jul 4, 2024
cfbd916
fix dist update
woodser Jul 4, 2024
039d11d
bump version to 0.9.9 and update dist
woodser Jul 4, 2024
ab6e2b5
update emscripten to 3.1.26
woodser Aug 11, 2024
46b8d0e
use mutex to save or move full wallet
woodser Aug 13, 2024
2654ff0
replace html5-fs with memfs
woodser Aug 14, 2024
2fe2078
use async filesystem operations
woodser Aug 13, 2024
25312f2
document fs compatible with Node.js fs.promises api
woodser Aug 15, 2024
04c029a
bump version to 0.10.0
woodser Aug 13, 2024
db17989
return promise includes undefined when applicable #214, #221
woodser Aug 15, 2024
ab358c5
disallow initializing keys wallet with server connection
woodser Aug 15, 2024
0dfee3d
update related projects with sample applications
woodser Aug 16, 2024
81e983e
update typedocs
woodser Aug 16, 2024
536ee4a
update dist
woodser Aug 16, 2024
2e78584
Replace request and xhr with axios
mainnet-pat Aug 21, 2024
d5a9115
tolerate missing fees field from fee estimate
woodser Aug 21, 2024
4383e30
fix all npm vulnerabilities
woodser Aug 21, 2024
35eda3c
bump version to 0.10.1
woodser Aug 21, 2024
46e42f4
update typedocs
woodser Aug 21, 2024
39981ee
update dist
woodser Aug 21, 2024
8e5d49a
remove work in progress label from sample vite app
woodser Aug 22, 2024
e89e3e4
Enforce axios adapter order, make errors more verbose
mainnet-pat Aug 28, 2024
978298c
update to monero-project v0.18.3.4, remove tx unlock time config
woodser Aug 24, 2024
e2d263a
fix bug using configured filesystem
woodser Aug 25, 2024
a74f2ff
synchronize connection requests
woodser Aug 25, 2024
b6deadc
bump version to 0.10.2
woodser Aug 26, 2024
b5279cf
support nonzero_unlock_time in submit tx result
woodser Aug 28, 2024
aa3e0e3
update typedocs
woodser Aug 28, 2024
9e769ec
update dist
woodser Aug 28, 2024
7de050c
update readme to monero-project v0.18.3.4
woodser Aug 28, 2024
86571d2
bump version to v0.10.3
woodser Aug 28, 2024
9193ea4
update dist
woodser Aug 28, 2024
8d84891
update typedocs
woodser Aug 28, 2024
ad415cd
add react app to sample apps
woodser Sep 1, 2024
04b70e2
remove --no-experimental-fetch and OpenSSL legacy provider
woodser Sep 5, 2024
66c8ae1
update bounty description
woodser Sep 6, 2024
1e9131a
remove memfs from full wallet, move to dev dependencies
woodser Aug 30, 2024
185ae30
bump version to 0.11.0
woodser Sep 10, 2024
6792397
Compile wasms into single file
mainnet-pat Sep 4, 2024
78abe57
remove separate keys module
woodser Sep 5, 2024
25896ce
change module from commonjs to es2022
woodser Sep 10, 2024
62289be
specify files to include in npm package
woodser Sep 10, 2024
0334311
rename dist assets to monero.js, monero.worker.js, and monero.tests.js
woodser Sep 12, 2024
47e0b79
update error message when invoking web worker
woodser Sep 12, 2024
d97ce55
postprocess wasm from build directory
woodser Sep 13, 2024
916f100
update donation message
woodser Sep 13, 2024
b1acb6a
preserve branches on submodule update
woodser Sep 14, 2024
f0ccf05
update monero-cpp submodule
woodser Sep 14, 2024
0818364
update typedocs
woodser Sep 14, 2024
061ca18
update dist
woodser Sep 14, 2024
9d4efdd
Update emscripten to latest version, update wasm postprocessing
mainnet-pat Sep 16, 2024
5aa196b
bump version to 0.11.1
woodser Sep 16, 2024
311ac33
instruct to use emscripten 3.1.66
woodser Sep 17, 2024
344d9dc
update typedocs
woodser Sep 16, 2024
059e29f
update dist
woodser Sep 16, 2024
584fd91
bump version to 0.11.2
woodser Sep 18, 2024
0a40679
Fix handling of internal assets to eliminate the need for dist/dist
mainnet-pat Sep 18, 2024
df3d399
fix block hashing and template blob mixup and redundant difficulty
woodser Jan 5, 2025
e7aaee3
fix notification of connection change on check connection
woodser Jan 5, 2025
044c2db
add sample node.js application in new section
woodser Jan 6, 2025
3eb3a6e
add null checks after all tests
woodser Jan 8, 2025
aa43aac
fix submit blocks via daemon rpc proxy
woodser Jan 8, 2025
21472a5
update dist
woodser Jan 8, 2025
fd8a6aa
update typedocs
woodser Jan 8, 2025
a878f6f
add missing semicolon
woodser Jan 16, 2025
7c0f8d7
fix conversion utils between xmr and atomic units
woodser Jan 16, 2025
324dee1
add utils to multiply and divide bigints
woodser Jan 18, 2025
36d20c4
update boost download link
woodser Feb 7, 2025
f929896
update unbound to v1.22.0
woodser Feb 9, 2025
9074df5
support wallet.getDefaultFeePriority()
woodser Feb 12, 2025
88e73ee
bump version to 0.11.3
woodser Feb 12, 2025
a17a9b2
update typedocs
woodser Feb 12, 2025
99c6c0d
update monero-cpp submodule
woodser Feb 12, 2025
2f51f66
update dist
woodser Feb 12, 2025
ace7986
fix typo in readme sample code
woodser Feb 28, 2025
075f0fb
use web-worker 1.3.0 to fix require errors
woodser Jun 11, 2025
a432158
remove 'as MoneroWalletListener' cast from sample code
woodser Jun 11, 2025
a67656c
do not include params in MoneroRpcError.toString()
woodser Jun 11, 2025
4b38afe
bump version to 0.11.4
woodser Jun 11, 2025
edf2ba5
update expected error message for change password test
woodser Jun 11, 2025
222a34f
fix propagation of error on import key images
woodser Jun 11, 2025
89c173c
standardize check for json character
woodser Jun 11, 2025
652534e
update monero-project to v0.18.4.0
woodser Jun 12, 2025
50303ec
update typedocs
woodser Jun 12, 2025
65b9edb
update dist
woodser Jun 12, 2025
ba4ae1d
support deno
woodser Jun 17, 2025
92c25a5
add sample deno app to readme
woodser Jun 17, 2025
2e08df8
bump version to 0.11.5
woodser Jun 17, 2025
9b7e9c0
update dist
woodser Jun 17, 2025
191257f
update typedocs
woodser Jun 17, 2025
6cdd5f0
Fix MoneroWalletRpc.handleCreateWalletError (#282)
everoddandeven Oct 12, 2025
ecd7246
increase minimum cmake version to 3.5
woodser Oct 12, 2025
c360f88
set daemon proxy by setting daemon connection
woodser Oct 12, 2025
3e94ee7
add guard against undefined error message
woodser Oct 12, 2025
89a9556
update monero-project to v0.18.4.3
woodser Oct 13, 2025
c061f79
bump version to v0.11.6
woodser Oct 14, 2025
aa8f44f
test block template expects seed height >= 0
woodser Oct 14, 2025
41f921e
add moneroTs.shutdown() to terminate worker
woodser Oct 14, 2025
c752b7f
update dist
woodser Oct 14, 2025
a2823a5
update typedocs
woodser Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-runtime"
],
"sourceType": "unambiguous",
"sourceMaps": "inline",
"retainLines": true,
"ignore": [
"node_modules",
"build",
"browser_build",
"dist",
"configs"
]
}
25 changes: 25 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Comment to label

on:
issues:
types: [labeled]
workflow_call:

jobs:
issueLabeled:
runs-on: ubuntu-latest
steps:
- name: Bounty explanation
uses: peter-evans/create-or-update-comment@v2
if: github.event.label.name == '💰bounty'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people whose solution is accepted and merged.


In some cases, we may assign the issue to specific contributors. We expect contributors to provide a PR in a reasonable time frame or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.


Read the [full conditions and details](https://github.com/woodser/monero-ts/blob/master/docs/bounties.md) of the bounty system.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ test_products
/test_wallets/
/build
/browser_build/
/dist/src/test/
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "external/monero-cpp"]
path = external/monero-cpp
url = https://github.com/monero-ecosystem/monero-cpp.git
url = https://github.com/woodser/monero-cpp.git
ignore = dirty
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>monero-javascript</name>
<name>monero-ts</name>
<comment></comment>
<projects>
</projects>
Expand Down
Loading