ECDSA key browser work

This commit is contained in:
Manuel Araoz 2014-02-19 16:54:41 -03:00
parent 68959fd92c
commit 0f393cb989
3 changed files with 9 additions and 5 deletions

View File

@ -24,7 +24,7 @@ module.exports.Block = require('./Block');
module.exports.Connection = require('./Connection');
module.exports.ScriptInterpreter = require('./ScriptInterpreter');
module.exports.Bloom = require('./Bloom');
module.exports.Key = require('./Key').Key;
module.exports.KeyModule = require('./Key');
module.exports.SINKey = require('./SINKey');
module.exports.SIN = require('./SIN');
module.exports.PrivateKey = require('./PrivateKey');

View File

@ -32,8 +32,8 @@
<script src="test.SIN.js"></script>
<script src="test.Transaction.js"></script>
<script src="test.VersionedData.js"></script>
<script src="test.Wallet.js"></script>
<!--
<script src="test.Wallet.js"></script>
<script src="test.WalletKey.js"></script>
<script src="test.basic.js"></script>
<script src="test.SINKey.js"></script>

View File

@ -5,10 +5,14 @@ var bitcore = require('../bitcore');
var should = chai.should();
var Key = bitcore.Key;
describe.skip('Key', function() {
var KeyModule = bitcore.KeyModule;
var Key;
describe('Key', function() {
it('should initialze the main object', function() {
should.exist(KeyModule);
});
it('should be able to create class', function() {
Key = KeyModule.Key;
should.exist(Key);
});
it('should be able to create instance', function() {