Skip to content

Commit f8252cf

Browse files
committed
removing neo, updating yarn lock
1 parent 89c3055 commit f8252cf

File tree

7 files changed

+1553
-1679
lines changed

7 files changed

+1553
-1679
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
"vuepress": "^1.3.1"
2525
},
2626
"dependencies": {
27-
"@cityofzion/neon-core": "^4.7.2",
28-
"@cityofzion/neon-js": "^4.7.2",
2927
"@cosmostation/cosmosjs": "^0.6.10",
3028
"@polkadot/keyring": "^3.5.1",
3129
"@polkadot/util-crypto": "^3.5.1",

rollup.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export default [
4040
external: [
4141
'ms',
4242
'@cosmostation/cosmosjs',
43-
'@cityofzion/neon-core',
44-
'@cityofzion/neon-js',
4543
'@polkadot/util-crypto',
4644
'@polkadot/keyring',
4745
'@solana/web3.js',

src/api/create.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import axios from 'axios'
22
import {DEFAULT_SERVER} from './base'
33
import * as nuls2 from './nuls2'
44
import * as ethereum from './ethereum'
5-
import * as neo from './neo'
65
import * as cosmos from './cosmos'
76
import * as substrate from './substrate'
87
import * as solana from './solana'
@@ -125,8 +124,6 @@ export async function sign_and_broadcast(message, account, api_server) {
125124
await nuls2.sign(account.private_key, message)
126125
} else if (account.type === 'ETH') {
127126
await ethereum.sign(account, message)
128-
} else if (account.type === 'NEO') {
129-
await neo.sign(account, message)
130127
} else if (account.type === 'DOT') {
131128
await substrate.sign(account, message)
132129
} else if (account.type === 'CSDK') {

src/api/encryption.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import base58 from 'bs58'
44

55
function _get_curve_from_account(account) {
66
let curve = "secp256k1"
7-
if (account['type'] == 'NEO')
8-
curve = "secp256r1"
97
if (account['type'] == 'SOL')
108
curve = "ed25519"
119
return curve

src/api/neo.js

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as aggregates from './api/aggregates.js';
22
import * as nuls from './api/nuls.js';
33
import * as nuls2 from './api/nuls2.js';
4-
import * as neo from './api/neo.js';
54
import * as cosmos from './api/cosmos.js';
65
import * as solana from './api/solana.js';
76
import * as avalanche from './api/avalanche.js';
@@ -10,7 +9,7 @@ import * as substrate from './api/substrate.js';
109
import * as posts from './api/posts.js';
1110
import * as store from './api/store.js';
1211
import * as encryption from './api/encryption.js';
13-
export {aggregates, nuls, nuls2, neo, cosmos, solana, avalanche, ethereum, substrate, posts, store, encryption};
12+
export {aggregates, nuls, nuls2, cosmos, solana, avalanche, ethereum, substrate, posts, store, encryption};
1413

1514
export {
1615
ipfs_push, storage_push,

0 commit comments

Comments
 (0)