8000 GitHub - Soltsice/Soltsice: Solidity & TypeScript Integration, Configuration and Examples
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 3, 2021. It is now read-only.

Soltsice/Soltsice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity & TypeScript Integration, Configuration and Examples

With Soltsice you could generate strongly-typed TypeScript proxies for Ethereum contracts from Solidity ABI with a single command. You could also send raw signed transactions to public Ethereum nodes such as Infura just by adding an optional private key parameter to any method. Soltsice provides convenient utilities for storing key files, for signing arbitrary data for later address recovery with ecrecover functions from contracts code and for other frequent tasks. Finally, Soltsice has MultiOwnable and BotManageable contracts for granular access control for MultiSig majority, individual owners and backend accounts.

Quick links


Features

Solidity ABI to TypeScript contract generation

With Soltsice you could generate strongly-typed TypeScript proxies for Ethereum contracts from Solidity ABI with a single command.

Methods

TODO

Events

TODO

Type safety and easy refactoring

The initial purpose of this library was to have peace of mind and type safety when working with rapidly changing Solidity ABI. TypeScript proxies for contracts allow to use powerful intellisense feature of code editors.

Methods with signatures

Methods with signatures

Typed Constructor

Typed Constructor

Fast API discovery & Intellisense support

TODO

Isomorphic NPM packages for contracts

TODO

Transactions and custom data signing

TODO

Using remote public nodes is easy

TODO Problem: Geth 1.8 added pruning, but still long-running nodes grow in side. Standard BizSpark subscription cannot keep up, needs more resources.

TODO Deploy via migrations using contracts, showcase @ts-check attribute in VSCode

Micropayments state channels example

TODO

Private key management

TODO

Security considerations

TODO

Local key file storage

TODO

Note that the format is standard one so you could import existing key files just by providing a filepath and password.

top

Contracts for access control

TODO

MultiOwnable: MultiSig majority and individual owner access

TODO

BotManageable: account managed by backend

TODO

Utilities

TODO

W3 module

TODO

Ethereum Utils

TODO

Typings

Keythereum

TODO

Storage contract