Skip to content

Commit

Permalink
Remove all wallet functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetsprague committed Jan 18, 2018
1 parent 3d6ed6d commit d0c6817
Show file tree
Hide file tree
Showing 9 changed files with 3,693 additions and 920 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ The default configuration settings for Arc can be found in config/default.json,
{
"providerUrl": "http://localhost:8545",
"network": "kovan", // Options are 'homestead', 'ropsten', 'rinkeby', 'kovan'
"apiToken": "" // Required for Infura or Etherscan
"gasLimit": [a number like 6015000]
}
```
Expand Down
2 changes: 0 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Work in progress. Install via `npm install daostack-arc-js`.

[Organization](organization.md)

[Wallet](wallet.md)

## Example Session
[next examples are not all working yet, but this is what is should/could look like]

Expand Down
71 changes: 0 additions & 71 deletions docs/wallet.md

This file was deleted.

29 changes: 0 additions & 29 deletions lib/arc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,35 +236,6 @@ declare module "daostack-arc-js" {
static at(avatarAddress: string): Promise<Organization>;
}

/*******************************
* Wallet
*/
export class Wallet {
static new(): Wallet;
static fromEncrypted(encryptedJSON: string, password: string): Wallet;
static fromMnemonic(mnemonic: string): Wallet;
static fromPrivateKey(privateKey: string): Wallet;

encrypt(
password: string,
progressCallback: (progress: number) => void
): string;
getEtherBalance(inWei?: boolean): BigNumber.BigNumber | string;
getMnemonic(): string;
getOrgTokenBalance(
organizationAvatarAddress: string,
inWei?: boolean
): BigNumber.BigNumber | string;
getPublicAddress(): string;
getProvider(): any;
sendEther(accountAddress: string, numEther: number | string): any; // TODO return value
sendOrgTokens(
organizationAvatarAddress: string,
toAccountAddress: string,
numTokens: number | string
): any; // TODO return value
}

/********************************
* GlobalConstraintRegistrar
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/arc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ export * from "./organization.js";
export * from "./schemeregistrar.js";
export * from "./tokenCapGC.js";
export * from "./upgradescheme.js";
export * from "./utils.js";
export * from "./wallet.js";
export * from "./utils.js";
131 changes: 0 additions & 131 deletions lib/wallet.js

This file was deleted.

Loading

0 comments on commit d0c6817

Please sign in to comment.