OfflineSignProvider
Custom Ethereum web3 provider to facilitate separation of business layer and wallet layer
Install / Use
/learn @ihaveCred/OfflineSignProviderREADME
offlineSignProvider
This is a customized Ethereum web3-provider to facilitate separation of business layer and wallet layer. With AWS KMS support.
encrypt\decrpty command line usage
npm encrypt {accessKeyId} {region} {secretAccessKey} {keyId} {privateKey}
npm decrypt {accessKeyId} {region} {secretAccessKey} {encodedPrivateKey}
provider usage
let Web3 = require('web3');
const Provider = require("offlinesignprovider");
var baseProvider = new Web3.providers.HttpProvider("https://kovan.infura.io/xxxxxxx");
var web3 = new Web3(new Provider(baseProvider, [{ address: "0x000000000", encodedKey: "aaaabbbccceedd" }], {
accessKeyId, //AWS KMS accessKeyId
region, //AWS KMS region
secretAccessKey //AWS KMS secretAccessKey
}));
web3.eth.sendTransaction(tx);// send tx
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
