Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4597 commits
Select commit Hold shift + click to select a range
4f4cfc3
fix email tests
kajoseph Mar 20, 2025
7b5befd
Merge branch 'master' of github.com:bitpay/bitcore into emailservice
kajoseph Mar 20, 2025
37a2e07
update email templates for all available languages
nicholasjs Mar 17, 2025
2ebaeb1
convert number to string via BigInt to handle amounts in scientific n…
leolambo Mar 20, 2025
3cbcc57
update icons, templates, scripts
nicholasjs Mar 20, 2025
eca6641
fix _readDirectories fn
kajoseph Mar 20, 2025
f8f45e2
convert value to string by type with max precision
leolambo Mar 21, 2025
14135d6
fix test
leolambo Mar 21, 2025
5ea85c9
update css, scripts, templates, iconsconfig
nicholasjs Mar 21, 2025
98545c9
Merge branch 'bigIntMatic' of github.com:leolambo/bitcore
kajoseph Mar 22, 2025
2e98ad4
v10.8.6
nitsujlangston Mar 22, 2025
1663950
fix pipeline, revert config
nicholasjs Mar 24, 2025
e424c4d
clean deps
nicholasjs Mar 24, 2025
50cc338
chore: resolve merge conflicts with upstream master
nicholasjs Mar 24, 2025
c2d382d
chore: reinstall juice package
nicholasjs Mar 24, 2025
e05c3f7
cleanup email test
nicholasjs Mar 24, 2025
7edb0ff
fix test
nicholasjs Mar 24, 2025
4632042
Merge branch 'master' of github.com:bitpay/bitcore into emailservice
kajoseph Mar 24, 2025
d6ad11a
rm require request
kajoseph Mar 24, 2025
e79e12f
updated master template html
nicholasjs Mar 24, 2025
9d4ef0c
more helpful emailOpts default config
kajoseph Mar 24, 2025
4454fff
Merge branch 'master' of github.com:bitpay/bitcore into emailservice
kajoseph Mar 25, 2025
012019c
add difference to utils
kajoseph Mar 25, 2025
9076aed
clean up test file
kajoseph Mar 25, 2025
1b628a5
rm lodash from utils tests
kajoseph Mar 25, 2025
ec3fd6a
adjust comment for clarity
kajoseph Mar 25, 2025
f6dea69
v10.8.7
nitsujlangston Mar 25, 2025
5c29041
update bitcore-build to use webdriverio
kajoseph Mar 25, 2025
23701ba
WIP: add browser test runner
kajoseph Mar 25, 2025
675a5af
add bitcore-tss to circleci cache
kajoseph Mar 25, 2025
5bfc219
commit bitcore-build package-lock
kajoseph Mar 25, 2025
820e7b8
Convert r,s to lib's BN instance when creating Signature instance
r4mmer Mar 27, 2025
147d258
fix gulp build
kajoseph Mar 27, 2025
ac4ed3d
fix utils imports
kajoseph Mar 27, 2025
c2b3173
Merge branch 'bitcore-tss' of github.com:kajoseph/bitcore
kajoseph Mar 27, 2025
45298ee
make imports, jsdocs, and typings consistent
kajoseph Mar 28, 2025
59d91b4
cleanup api.ts; rm lodash
kajoseph Mar 28, 2025
ce4fec5
Merge branch 'master' of github.com:bitpay/bitcore into fixBccUtilsIm…
kajoseph Mar 29, 2025
ea1cf3d
v10.8.8
nitsujlangston Mar 29, 2025
d2f6f30
rm endianness from BN conversion
kajoseph Apr 2, 2025
3cb971f
fix wallet-tx-list race condition
kajoseph Apr 2, 2025
f662541
Merge branch 'master' of github.com:bitpay/bitcore into bwcCleanup
kajoseph Apr 2, 2025
5c19af9
fix package-lock merge conflicts
kajoseph Apr 2, 2025
bf0d795
v10.8.9
nitsujlangston Apr 2, 2025
ca9fcd7
Merge branch 'master' of github.com:bitpay/bitcore into bwcCleanup
kajoseph Apr 3, 2025
270dd8c
commit package-lock after master merge
kajoseph Apr 3, 2025
6f45793
feedback
kajoseph Apr 3, 2025
af4e90c
add fallback error message; lint & fix error spec type
kajoseph Apr 3, 2025
9544fae
add solana transaction support
leolambo Apr 8, 2025
1b751d3
cleanup validations
leolambo Apr 8, 2025
5ac24e4
support solana validation
leolambo Apr 8, 2025
d6207b0
fix loop over nullish; quiet getChain error noise for old wallets
kajoseph Apr 8, 2025
0ff3890
v10.8.10
nitsujlangston Apr 9, 2025
1be75a2
support solana derivation async
leolambo Apr 8, 2025
c34fb1e
cleanup
leolambo Apr 10, 2025
eb5cdb2
package-lock
leolambo Apr 10, 2025
51e1d72
cleanup
leolambo Apr 10, 2025
dace2ee
Merge branch 'master' of https://github.com/bitpay/bitcore into cwcSo…
leolambo Apr 10, 2025
89c1313
update package-lock
leolambo Apr 10, 2025
e1341a6
re-add ed25519-hd-key dep
leolambo Apr 10, 2025
5915ddd
support ed25519 seeds
leolambo Apr 10, 2025
769eadc
update tsconfig libs
leolambo Apr 10, 2025
6a181cb
update typescript
leolambo Apr 10, 2025
4c63300
fix crypto ovveride
leolambo Apr 10, 2025
dbd5a01
add toHDPrivateKey to mnemonic lib
leolambo Apr 10, 2025
2c6c1d2
replace lodash usage
leolambo Apr 10, 2025
0980d69
Merge branch 'cwcSolanaKit' of https://github.com/leolambo/bitcore in…
leolambo Apr 13, 2025
b27a63a
ignore external package's type definitions
leolambo Apr 13, 2025
c2562f0
Merge branch 'cwcSolanaKit' of https://github.com/leolambo/bitcore in…
leolambo Apr 13, 2025
5b8e86d
use square brackets in JSDOC to denote optional param
leolambo Apr 13, 2025
97e8961
Merge branch 'cwcSolanaKit' of https://github.com/leolambo/bitcore in…
leolambo Apr 13, 2025
7aac800
Merge branch 'master' of github.com:bitpay/bitcore into emailservice
kajoseph Apr 15, 2025
801d059
cleanup the _readDirectories fn
kajoseph Apr 15, 2025
d2559f8
feedback + add typing
kajoseph Apr 16, 2025
55cba60
add languages; update and improve test suite
kajoseph Apr 16, 2025
60abe60
add type to storage
kajoseph Apr 16, 2025
69a600c
add keyType unit tests
leolambo Apr 16, 2025
930939b
Merge branch 'ed25519Seed' of github.com:leolambo/bitcore
kajoseph Apr 16, 2025
e050273
Merge branch 'ed25519Seed' of https://github.com/leolambo/bitcore int…
leolambo Apr 16, 2025
d7e0a8d
feedback
leolambo Apr 17, 2025
6bf1d18
add SPL token support
leolambo Apr 18, 2025
b92d2e8
lint
leolambo Apr 21, 2025
1407a30
Merge branch 'cwcSolanaKit' of https://github.com/leolambo/bitcore in…
leolambo Apr 22, 2025
1c47906
Merge branch 'cwcSolanaKit' of https://github.com/leolambo/bitcore in…
leolambo Apr 22, 2025
2195222
DRY the doge and ltc p2p classes
kajoseph Apr 22, 2025
338dbb1
derive without promises
leolambo Apr 22, 2025
23d17ea
remove skipLibCheck
leolambo Apr 23, 2025
b4170da
add compute unit limit instruction
leolambo Apr 23, 2025
9c4d912
fix typo
leolambo Apr 23, 2025
d4e00c8
encode private key to base58
leolambo Apr 23, 2025
1f88ed9
update package-lock
leolambo Apr 23, 2025
cbf4c1c
fix non-mainnet token utils
kajoseph Apr 28, 2025
bd72740
add _hash property
leolambo Apr 29, 2025
bcf6f50
make _hash optional
leolambo Apr 29, 2025
b34356f
remove _hash
leolambo Apr 29, 2025
a830ecb
Merge branch 'cwcSolanaKit' of github.com:leolambo/bitcore
kajoseph Apr 29, 2025
2aa9de7
v10.9.0
nitsujlangston Apr 29, 2025
de685da
Merge branch 'cleanupBcnP2p' of github.com:kajoseph/bitcore
kajoseph Apr 30, 2025
d980ce4
Feat: banxaGetCoins new endpoint
Gamboster May 2, 2025
fb4faf0
Types for external services files
Gamboster May 2, 2025
402d263
Merge branch 'master' of https://github.com/bitpay/bitcore into solan…
leolambo May 5, 2025
bc163ce
Merge branch 'solanaKitAll' of https://github.com/leolambo/bitcore in…
leolambo May 5, 2025
83d1bc4
solana support
leolambo May 5, 2025
3f1a564
make param optional
leolambo May 5, 2025
324f458
add a bin for bitcore-wallet to make it a cli
DanielRHayes May 6, 2025
7615dc4
[FIX] add sol to index for validations
gabrielbazan7 May 7, 2025
6bd046b
update tests
leolambo May 7, 2025
85edf2a
cleanup
leolambo May 8, 2025
84c3b8c
[REF] normalize chain value
gabrielbazan7 May 8, 2025
4961a90
feedback
leolambo May 8, 2025
61bebc9
add comment
leolambo May 8, 2025
56d1cb8
feedback
leolambo May 8, 2025
f4bc4c2
fix typo
leolambo May 8, 2025
5c02bfb
Merge branch 'solanaKitBWC' of github.com:leolambo/bitcore
kajoseph May 9, 2025
b38d0c2
Merge branch 'feat/banxaGetCoinsNewEndpoint' of github.com:Gamboster/…
kajoseph May 9, 2025
f5a9da1
Update Master Template
cgreer011 May 7, 2025
ac0fc65
Feat: moralisGetSolWalletPortfolio endpoint added
Gamboster May 13, 2025
8f7a94a
Merge branch 'feat/update-BWS-email-template' of github.com:cgreer011…
kajoseph May 14, 2025
50057aa
v10.9.1
nitsujlangston May 14, 2025
047ab5c
misc scripts
kajoseph May 14, 2025
e34842a
feedback
kajoseph May 20, 2025
f77f9ce
None for previous block if viewing genesis block
MicahMaphet May 20, 2025
1a59fd5
fixed difficulty measurement
MicahMaphet May 20, 2025
c1f6d04
Merge branch 'bccUpdates' of github.com:kajoseph/bitcore
kajoseph May 21, 2025
51a8815
added chain+network pill to search bar
MicahMaphet May 22, 2025
29c6570
added bubble around currency image and network
MicahMaphet May 22, 2025
368b174
improved format of bubble
MicahMaphet May 22, 2025
639473b
added color change to pill on hover
MicahMaphet May 22, 2025
0766684
made network param optional for pill, removes redundancy
MicahMaphet May 22, 2025
6eb0528
fixed hiding of pill
MicahMaphet May 22, 2025
f2ac774
added X to pill
MicahMaphet May 22, 2025
05bbd1e
disable previous block link at genesis block
MicahMaphet May 22, 2025
3b81c3d
fixed block height not showing on genesis block
MicahMaphet May 22, 2025
f47ba6b
removed useless properties for insight search pill
MicahMaphet May 23, 2025
9002755
added alt image to currency
MicahMaphet May 23, 2025
91cebdf
fixed error message and simplified currency/network logic
MicahMaphet May 23, 2025
ae090c2
update lerna to v5
kajoseph May 23, 2025
bf586be
only import solana kit
leolambo May 23, 2025
385f281
refactored Pill to its own file and replaced pill state with currency
MicahMaphet May 23, 2025
882cfe4
added tripple equals for genesis block identification
MicahMaphet May 23, 2025
e8453c9
add semi colon, removed unused import
MicahMaphet May 23, 2025
4415a7e
Merge branch 'solanaKitOnly' of github.com:leolambo/bitcore
kajoseph May 23, 2025
0cb5f82
v10.9.2
nitsujlangston May 23, 2025
6018d08
Merge branch 'genesis-block-edgecase' of github.com:MicahMaphet/bitcore
kajoseph May 27, 2025
3b38230
Bitcore Node: Enhancement - dockerize bitcore-node
DanielRHayes May 27, 2025
903fb19
update
DanielRHayes May 27, 2025
f5a991f
update
DanielRHayes May 27, 2025
6daa131
added alts to images and more descriptive search place holder
MicahMaphet May 27, 2025
497bb31
update from kennys feedback
DanielRHayes May 27, 2025
1b9ce01
remove setting npm version
DanielRHayes May 27, 2025
151f800
fixed uneven padding and removed useless fragment tag
MicahMaphet May 28, 2025
332510f
update
DanielRHayes May 29, 2025
863e0d3
[BWS] dockerize bws and improve the organization of docker npm scripts
DanielRHayes May 29, 2025
a65e039
update
DanielRHayes May 29, 2025
dd50daa
Merge branch 'fix-insight-search' of github.com:MicahMaphet/bitcore
kajoseph Jun 2, 2025
dfc59ad
Merge branch 'difficulty-measurement' of github.com:MicahMaphet/bitcore
kajoseph Jun 2, 2025
8a369fd
add arrow for spent transactions and removed the (S) and (U) descript…
MicahMaphet Jun 2, 2025
9d63af9
replaced bubble arrow with refactored vector arrow
MicahMaphet Jun 2, 2025
a067f8a
removed blue arrow
MicahMaphet Jun 2, 2025
68ec52f
removed useless style argument
MicahMaphet Jun 3, 2025
6ca9a65
add blockhash and blockheight
leolambo Jun 3, 2025
206ce69
created outline box with label within lines for transactions details
MicahMaphet Jun 3, 2025
ac7d948
make sol signatures consistently base58 encoded
leolambo Jun 3, 2025
6a42c1a
update test sigs to base58
leolambo Jun 3, 2025
8e526e1
Merge branch 'drh/bitcore-wallet-bin' of github.com:DanielRHayes/bitcore
kajoseph Jun 3, 2025
71ef164
made box aligns around inner text
MicahMaphet Jun 3, 2025
dfcce6f
put components inside of border labeled boxes
MicahMaphet Jun 3, 2025
e7bfec2
made arrow blue and input arrow show when details not expanded
MicahMaphet Jun 3, 2025
2bac235
added gray arrow to unspent transactions and hide arrow for OP_RETURN
MicahMaphet Jun 3, 2025
0bfd98a
Merge branch 'solBWfixes' of github.com:leolambo/bitcore
kajoseph Jun 4, 2025
e77cbf0
[FEAT] add solana devnet
gabrielbazan7 Jun 4, 2025
1338136
update readme
kajoseph Jun 4, 2025
f44aef2
Merge branch 'feat/solana-devnet' of github.com:gabrielbazan7/bitcore
kajoseph Jun 5, 2025
2af8c18
v10.9.3
nitsujlangston Jun 5, 2025
093f428
redid border box with field set
MicahMaphet Jun 8, 2025
019a4f1
box taked minimum room
MicahMaphet Jun 8, 2025
a47f52f
made transaction input and output columns use all space
MicahMaphet Jun 9, 2025
68ae9cf
refactored element structure for tx details, improving spacing, paddi…
MicahMaphet Jun 9, 2025
a10e662
Merge branch 'spent-arrow' of github.com:MicahMaphet/bitcore
kajoseph Jun 9, 2025
5e0c47e
added text wrapping for tx data elements; put Tx Index and Confirmati…
MicahMaphet Jun 10, 2025
9bf501c
fixed hover for address and Unparsed address+OP_RETURN spacing
MicahMaphet Jun 10, 2025
8085f6a
Merge branch 'spent-arrow' into border-box-label
MicahMaphet Jun 10, 2025
4f6f9dd
added circle placeholder to unspendable txs
MicahMaphet Jun 10, 2025
905dbf0
added back fit content to border box
MicahMaphet Jun 10, 2025
fbe97eb
removed quotes around 0
MicahMaphet Jun 10, 2025
c43faff
added automatic margin removal to BorderBoxLabel children for more co…
MicahMaphet Jun 10, 2025
9a2c693
update start command
DanielRHayes Jun 10, 2025
5e9c0d2
add contributing.md file
LakunleD Jun 10, 2025
78020b1
update the contributing.md file links in different packages
LakunleD Jun 10, 2025
518a134
refreshes blockheight and blockhash on publish
leolambo Jun 10, 2025
47a0ca0
add sol 1inch support
leolambo Jun 10, 2025
5d192f9
add txproposal republish fields
leolambo Jun 10, 2025
820c18f
create custom cache time for solana to allow frequent refreshes
leolambo Jun 10, 2025
894bd55
create new deriver object
leolambo Jun 10, 2025
9139db6
use deriver object
leolambo Jun 10, 2025
d989793
Merge branch 'contribute' of github.com:LakunleD/bitcore
kajoseph Jun 11, 2025
f05ca87
Merge branch 'drh/dockerize-bws' of github.com:DanielRHayes/bitcore
kajoseph Jun 11, 2025
5da0b72
v10.9.4
nitsujlangston Jun 11, 2025
b770a57
set path with string literal
leolambo Jun 11, 2025
7c5e8cb
make bitcore-wallet private to bypass publish
kajoseph Jun 11, 2025
b4575cd
verify raw tx from last publish
leolambo Jun 11, 2025
d386bfa
Merge branch 'master' into refreshOnPublish
leolambo Jun 11, 2025
291dc0e
add tick
leolambo Jun 11, 2025
77e68d0
Merge branch 'refreshOnPublish' of https://github.com/leolambo/bitcor…
leolambo Jun 11, 2025
eef82a4
add republish comment
leolambo Jun 11, 2025
dd2b3ed
add UpdatedTxProposal notification
leolambo Jun 11, 2025
1ce2f52
remove sol
leolambo Jun 12, 2025
151dcc7
Merge branch 'master' of github.com:bitpay/bitcore
nitsujlangston Jun 12, 2025
899c4d0
v10.10.0
nitsujlangston Jun 12, 2025
e38985c
add from ata and decimals to txproposal
leolambo Jun 13, 2025
ef4a411
added dark color in dark mode and made pill smaller
MicahMaphet Jun 16, 2025
08bd7fc
made context pill smaller and button dark in dark mode
MicahMaphet Jun 16, 2025
52fd794
Tx id link expands down when details are expanded
MicahMaphet Jun 16, 2025
ee20fa1
optimize signing for dex swap support
leolambo Jun 17, 2025
d1a4230
refactored pill and search with @media tag and removed useTheme()
MicahMaphet Jun 17, 2025
193a48a
removed isMobile from helper-methods
MicahMaphet Jun 17, 2025
5daa800
merged changes adding scope to make button bigger
MicahMaphet Jun 17, 2025
c88eba2
Merge branch 'addSplOptions' of https://github.com/leolambo/bitcore i…
leolambo Jun 17, 2025
8c04646
use 1inch multichain api
leolambo Jun 17, 2025
fb94e8d
fixed alt in search image
MicahMaphet Jun 18, 2025
37d068a
removed test/main pill network shorthand on mobile and condensed sear…
MicahMaphet Jun 18, 2025
f5f3d7f
only use shorthand when in currency context
MicahMaphet Jun 18, 2025
905fa50
make placeholder change accordingly when window is resized
MicahMaphet Jun 19, 2025
a126976
add solana memo transaction support
leolambo Jun 20, 2025
711caaf
update response data retrieval
leolambo Jun 20, 2025
3132a7c
update 1inch base api url
leolambo Jun 20, 2025
d0f4cd4
Merge branch 'master' into border-box-label
MicahMaphet Jun 23, 2025
8c108eb
moved border box to new file and renamed it data box
MicahMaphet Jun 23, 2025
ffb373b
fixed dynamic window resizing using useEffect
MicahMaphet Jun 23, 2025
d6223d1
created currency image styled element for pill to use @media instead …
MicahMaphet Jun 23, 2025
b3c289a
add rent minimum to balance calculation
leolambo Jun 23, 2025
eed24d8
v10.10.1
nitsujlangston Jun 24, 2025
c6a039f
add algo param to key encryption
leolambo Jun 24, 2025
3083ebf
fix getting privKey
leolambo Jun 25, 2025
9206f37
create addKeyByAlgorithm function
leolambo Jun 26, 2025
b432c5c
cleanup
leolambo Jun 26, 2025
61a55c5
v10.10.2
nitsujlangston Jun 26, 2025
a8a8f22
use Mnemonic object
leolambo Jun 26, 2025
63687c4
Merge branch 'fixEncryptionEDDSA' of github.com:leolambo/bitcore
kajoseph Jun 27, 2025
c464b88
v10.10.3
nitsujlangston Jun 27, 2025
fbc0b31
Merge branch 'fix-insight-search' of github.com:MicahMaphet/bitcore
kajoseph Jun 30, 2025
8e9e96d
changed blue arrow color and show pointer only when the tx is spent
MicahMaphet Jun 30, 2025
11ccd21
put data box label around OP RETURN
MicahMaphet Jun 30, 2025
f535c71
fixed spacing of side-by-side detail elements
MicahMaphet Jun 30, 2025
23fdff6
Merge branch 'border-box-label' of github.com:MicahMaphet/bitcore
kajoseph Jul 1, 2025
c7ca2af
v10.10.4
nitsujlangston Jul 1, 2025
52d6b4e
use old endpoint
leolambo Jul 2, 2025
f3c6fef
Merge branch 'master' of https://github.com/bitpay/bitcore into 1Inch…
leolambo Jul 2, 2025
7728de6
v10.10.5
nitsujlangston Jul 3, 2025
eccfe6f
Create npm-gulp.yml
Umeh832 Jul 3, 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
  •  
  •  
  •  
229 changes: 222 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,230 @@
# Javascript Node CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
version: 2
jobs:
build:
version: 2.1

executors:
main:
machine:
image: circleci/classic:latest
image: default # https://discuss.circleci.com/t/linux-image-deprecations-and-eol-for-2024/50177
docker_layer_caching: true
resource_class: large
working_directory: ~/bitcore
environment:
- DB_NAME: bitcore-test
- DB_PORT: 7357
- BITCORE_CONFIG_PATH: ~/bitcore/bitcore-test.config.json

commands:
create_concatenated_package_lock:
description: "Concatenate all package-lock.json files recognized by lerna.js into single file. File is used as checksum source for part of caching key."
parameters:
filename:
type: string
steps:
- checkout
- run:
name: Combine package-lock.json files to single file
command: npx lerna la --json | grep '"location":' | awk -F packages '{printf "packages%s\n", $2}' | awk -F '"' '{printf "\"%s/package-lock.json\" ", $1}' | xargs cat > << parameters.filename >>
start_docker_images:
description: Pull docker images for mongo and blockchain nodes
steps:
- run:
name: Build & start blockchain containers
command: docker-compose -f docker-compose.test.base.yml -f docker-compose.test.ci.yml up --detach
use_python2:
description: Set python 2.7 as global python version on the executor machine
steps:
- run:
name: Use Python 2
command: |
pyenv versions
pyenv install -s 2.7
pyenv global 2.7
use_node:
description: Force usage of correct node version on the executor machine
steps:
- run:
name: Use Node 22
command: |
nvm install 22.13.1
nvm alias default 22.13.1
nvm use default
restore_dependency_cache:
steps:
- create_concatenated_package_lock:
filename: combined-package-lock.txt
- restore_cache:
key: node_modules-{{ checksum "package-lock.json" }}-{{ checksum "combined-package-lock.txt" }}
run_test:
description: Execute the test suite for a package
parameters:
package:
type: string
steps:
- attach_workspace:
at: ~/bitcore
- use_node
- start_docker_images
- run:
name: Run << parameters.package >> tests
command: |
nvm use default
npm run compile
npm run test:<< parameters.package >>


jobs:
build:
executor: main
steps:
- checkout
- use_python2
- use_node
# - run:
# name: Install Chrome
# command: |
# sudo mkdir -p /etc/apt/keyrings
# curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /etc/apt/keyrings/google.gpg
# echo 'deb [arch=amd64 signed-by=/etc/apt/keygrings/google.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/chrome.list
# set -x && sudo apt-get update && sudo apt-get install -y google-chrome-stable
# export CHROME_BIN=/usr/bin/google-chrome
- run:
name: Build service
command: npm run test:ci
name: Print versions
command: |
nvm use default
set -x && node -v && npm -v && google-chrome --version && docker version && python --version
# - restore_dependency_cache
- run: | # TODO figure out how to make this only run on a cache miss in restore_dependency_cache
nvm use default
npm install
- save_cache:
key: node_modules-{{ checksum "package-lock.json" }}-{{ checksum "combined-package-lock.txt" }}
paths:
- node_modules
- packages/bitcore-build/node_modules
- packages/bitcore-client/node_modules
- packages/bitcore-lib/node_modules
- packages/bitcore-lib-cash/node_modules
- packages/bitcore-lib-doge/node_modules
- packages/bitcore-lib-ltc/node_modules
- packages/bitcore-mnemonic/node_modules
- packages/bitcore-node/node_modules
- packages/bitcore-p2p/node_modules
- packages/bitcore-p2p-cash/node_modules
- packages/bitcore-p2p-doge/node_modules
- packages/bitcore-tss/node_modules
- packages/bitcore-wallet/node_modules
- packages/bitcore-wallet-client/node_modules
- packages/bitcore-wallet-service/node_modules
- packages/crypto-wallet-core/node_modules
- packages/insight/node_modules
- persist_to_workspace:
root: ~/bitcore
paths:
- .
bitcore-node:
executor: main
steps:
- run_test:
package: bitcore-node
bitcore-wallet-service:
executor: main
steps:
- run_test:
package: bitcore-wallet-service
bitcore-wallet-client:
executor: main
steps:
- run_test:
package: bitcore-wallet-client
crypto-wallet-core:
executor: main
steps:
- run_test:
package: crypto-wallet-core
bitcore-wallet:
executor: main
steps:
- run_test:
package: bitcore-wallet
bitcore-lib:
executor: main
steps:
- run_test:
package: bitcore-lib
bitcore-lib-cash:
executor: main
steps:
- run_test:
package: bitcore-lib-cash
bitcore-lib-doge:
executor: main
steps:
- run_test:
package: bitcore-lib-doge
bitcore-lib-ltc:
executor: main
steps:
- run_test:
package: bitcore-lib-ltc
bitcore-mnemonic:
executor: main
steps:
- run_test:
package: bitcore-mnemonic
bitcore-p2p:
executor: main
steps:
- run_test:
package: bitcore-p2p
bitcore-client:
executor: main
steps:
- run_test:
package: bitcore-client
bitcore-tss:
executor: main
steps:
- run_test:
package: bitcore-tss

workflows:
version: 2
build_and_test:
jobs:
- build
- bitcore-node:
requires:
- build
- bitcore-wallet-service:
requires:
- build
- bitcore-wallet-client:
requires:
- build
- crypto-wallet-core:
requires:
- build
- bitcore-lib:
requires:
- build
- bitcore-lib-cash:
requires:
- build
- bitcore-lib-doge:
requires:
- build
- bitcore-lib-ltc:
requires:
- build
- bitcore-mnemonic:
requires:
- build
- bitcore-p2p:
requires:
- build
- bitcore-client:
requires:
- build
- bitcore-tss:
requires:
- build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"address":"ec12cd1ab86f83c1b26c5caa38126bc4299b6cba","crypto":{"cipher":"aes-128-ctr","ciphertext":"cacd04d2a934c14eb94f0b6a56b22909c3b35fca2503a3e821df9ccd3606016d","cipherparams":{"iv":"ff1e71097f717fa3f11d388253a6a227"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"f50417f15ba7921b08cc93cce68dfe2b1062fe73162f543a1c4876ac0dc46ffc"},"mac":"815724427e62715487fb091251074cb4b2837f6bc94273f7d3cd194b22bbb6e7"},"id":"1aa36c20-312f-41ba-9462-914b8020201b","version":3}
25 changes: 25 additions & 0 deletions .docker/rippled.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM node:18-bullseye

RUN apt-get update
RUN apt-get install sudo
RUN adduser --disabled-password --gecos '' docker
RUN adduser docker sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER docker

RUN sudo apt -y update
RUN sudo apt -y install apt-transport-https ca-certificates wget gnupg
RUN wget -q -O - "https://repos.ripple.com/repos/api/gpg/key/public" | sudo apt-key add -
RUN echo "deb https://repos.ripple.com/repos/rippled-deb bullseye stable" | sudo tee -a /etc/apt/sources.list.d/ripple.list
RUN sudo apt -y update
RUN sudo apt -y install rippled

RUN sudo rm /etc/opt/ripple/rippled.cfg
COPY ./.docker/rippled.cfg /home/docker
RUN sudo cp /home/docker/rippled.cfg /etc/opt/ripple/rippled.cfg

ENTRYPOINT ["sudo", "rippled", "-a", "--start", "--conf=/home/docker/rippled.cfg"]
EXPOSE 6006
EXPOSE 6005
EXPOSE 5005
EXPOSE 5004
55 changes: 55 additions & 0 deletions .docker/rippled.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[server]
port_rpc_admin_local
port_peer
port_ws_admin_local

[port_rpc_admin_local]
port = 5005
ip = 0.0.0.0
admin = 0.0.0.0
protocol = http

[port_peer]
port = 51235
ip = 0.0.0.0
protocol = peer

[port_ws_admin_local]
port = 6006
ip = 0.0.0.0
admin = 0.0.0.0
protocol = ws

#-------------------------------------------------------------------------------

[node_size]
medium

[node_db]
type=RocksDB
path=/var/lib/rippled/regtest/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
online_delete=2000
advisory_delete=0

[database_path]
/var/lib/rippled/regtest/db

[debug_logfile]
/var/lib/rippled/regtest/debug.log

[sntp_servers]
time.windows.com
time.apple.com
time.nist.gov
pool.ntp.org

[rpc_startup]
{ "command": "log_level", "severity": "warning" }

[ssl_verify]
1
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"semi": [
"error",
"always"
],
"max-len": [
"warn",
{
"code": 120
}
]
}
}
28 changes: 28 additions & 0 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NodeJS with Gulp

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
gulp
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules/
.env
*bitcore.config.*
.vscode
.idea
.DS_Store
*.swp

Expand All @@ -14,4 +15,5 @@ Session.vim
.netrwhist
*~
ts_build
bitcore-lib.js

Loading