Skip to content

authereum/starkware-controller

 
 

Repository files navigation

starkware-controller npm version

Starkware JSON-RPC Controller Library

Example

import * as ethers from 'ethers';
import StarkwareController from 'starkware-controller';

const wallet = ethers.Wallet.createRandom();

const store = {
  set: async (key: string, data: any) => {},
  get: async (key: string) => {},
  remove: async (key: string) => {},
};

//  Create StarkwareController
const controller = new StarkwareController(wallet, store);

// Initiate
await controller.init();

About

Starkware JSON-RPC Controller Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.5%
  • JavaScript 2.5%