Skip to content

Commit

Permalink
switch default symbol and remove legacy chains
Browse files Browse the repository at this point in the history
  • Loading branch information
sschiessl-bcp committed Jan 5, 2022
1 parent 42e7eec commit 0d5f84f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitsharesjs-ws",
"version": "4.0.0",
"version": "6.0.0-rc1",
"description": "Pure JavaScript BitShares websocket interface for node.js and browsers.",
"browser": {
"ws": false
Expand Down
3 changes: 3 additions & 0 deletions pushRelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npm login
npm pack
npm publish bitsharesjs-ws-$1.tgz
16 changes: 2 additions & 14 deletions src/ChainConfig.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var config = {
core_asset: "CORE",
address_prefix: "GPH",
core_asset: "ABC",
address_prefix: "CBA",
expire_in_secs: 15,
expire_in_secs_proposal: 24 * 60 * 60,
review_in_secs_committee: 24 * 60 * 60,
Expand All @@ -11,24 +11,12 @@ var config = {
chain_id:
"4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8"
},
Muse: {
core_asset: "MUSE",
address_prefix: "MUSE",
chain_id:
"45ad2d3f9ef92a49b55c2227eb06123f613bb35dd08bd876f2aea21925a67a67"
},
Test: {
core_asset: "TEST",
address_prefix: "TEST",
chain_id:
"39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447"
},
Obelisk: {
core_asset: "GOV",
address_prefix: "FEW",
chain_id:
"1cfde7c388b9e8ac06462d68aadbd966b58f88797637d9af805b4560b0e9661e"
}
},

/** Set a few properties for known chain IDs. */
Expand Down

0 comments on commit 0d5f84f

Please sign in to comment.