@cityofzion/bs-neo3 0.9.3 → 0.11.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.
- package/dist/BSNeo3.d.ts +8 -4
- package/dist/BSNeo3.js +38 -13
- package/dist/DoraBDSNeo3.d.ts +0 -1
- package/dist/DoraBDSNeo3.js +11 -12
- package/dist/DoraESNeo3.d.ts +1 -1
- package/dist/DoraESNeo3.js +19 -5
- package/dist/FlamingoEDSNeo3.d.ts +1 -2
- package/dist/FlamingoEDSNeo3.js +20 -5
- package/dist/GhostMarketNDSNeo3.d.ts +1 -1
- package/dist/GhostMarketNDSNeo3.js +17 -3
- package/dist/LedgerServiceNeo3.d.ts +14 -0
- package/dist/LedgerServiceNeo3.js +96 -0
- package/dist/RpcBDSNeo3.d.ts +4 -4
- package/dist/RpcBDSNeo3.js +23 -19
- package/package.json +12 -9
- package/.eslintignore +0 -13
- package/.eslintrc.cjs +0 -22
- package/.rush/temp/operation/build/all.log +0 -1
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/package-deps_build.json +0 -31
- package/.rush/temp/shrinkwrap-deps.json +0 -439
- package/CHANGELOG.json +0 -66
- package/CHANGELOG.md +0 -33
- package/bs-neo3.build.log +0 -1
- package/jest.config.ts +0 -13
- package/jest.setup.ts +0 -1
- package/src/BSNeo3.ts +0 -232
- package/src/DoraBDSNeo3.ts +0 -188
- package/src/DoraESNeo3.ts +0 -19
- package/src/FlamingoEDSNeo3.ts +0 -41
- package/src/GhostMarketNDSNeo3.ts +0 -121
- package/src/RpcBDSNeo3.ts +0 -159
- package/src/__tests__/BDSNeo3.spec.ts +0 -124
- package/src/__tests__/BSNeo3.spec.ts +0 -149
- package/src/__tests__/DoraESNeo3.spec.ts +0 -23
- package/src/__tests__/FlamingoEDSNeo3.spec.ts +0 -48
- package/src/__tests__/GhostMarketNDSNeo3.spec.ts +0 -48
- package/src/__tests__/utils/sleep.ts +0 -1
- package/src/assets/tokens/common.json +0 -14
- package/src/assets/tokens/mainnet.json +0 -116
- package/src/constants.ts +0 -29
- package/src/index.ts +0 -6
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -14
package/src/constants.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NetworkType, Token } from '@cityofzion/blockchain-service'
|
|
2
|
-
import commom from './assets/tokens/common.json'
|
|
3
|
-
import mainnet from './assets/tokens/mainnet.json'
|
|
4
|
-
|
|
5
|
-
export const TOKENS: Record<NetworkType, Token[]> = {
|
|
6
|
-
mainnet: [...commom, ...mainnet],
|
|
7
|
-
testnet: commom,
|
|
8
|
-
custom: commom,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const NEO_NS_HASH = '0x50ac1c37690cc2cfc594472833cf57505d5f46de'
|
|
12
|
-
|
|
13
|
-
export const DEFAULT_URL_BY_NETWORK_TYPE: Record<NetworkType, string> = {
|
|
14
|
-
mainnet: 'https://mainnet1.neo.coz.io:443',
|
|
15
|
-
testnet: 'https://testnet1.neo.coz.io:443',
|
|
16
|
-
custom: 'http://127.0.0.1:50012',
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const GHOSTMARKET_URL_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>> = {
|
|
20
|
-
mainnet: 'https://api.ghostmarket.io/api/v2',
|
|
21
|
-
testnet: 'https://api-testnet.ghostmarket.io/api/v2',
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const GHOSTMARKET_CHAIN_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>> = {
|
|
25
|
-
mainnet: 'n3',
|
|
26
|
-
testnet: 'n3t',
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export const DERIVATION_PATH = "m/44'/888'/0'/0/?"
|
package/src/index.ts
DELETED
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"outDir": "./dist"
|
|
6
|
-
},
|
|
7
|
-
"include": ["src"],
|
|
8
|
-
"exclude": ["node_modules"],
|
|
9
|
-
"typedocOptions": {
|
|
10
|
-
"entryPoints": ["./src/index.ts"],
|
|
11
|
-
"out": "docs",
|
|
12
|
-
"exclude": "**/node_modules/**"
|
|
13
|
-
}
|
|
14
|
-
}
|