Coder Social home page Coder Social logo

cryptoleek-eth / starknet-cli-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amanusk/starknet-cli-wallet

0.0 1.0 0.0 236 KB

Basic example of deploying and using starknet.js for basic wallet operations

License: MIT License

Shell 0.56% JavaScript 0.77% Python 3.58% TypeScript 62.43% Cairo 32.66%

starknet-cli-wallet's Introduction

Basic StarkNet-JS wallet

I wouldn't trust any software/blockchain/dapp I cannot run from a command line. This is a basic tool to run basic commands on a StarkNet contract, from a terminal. The tool supports:

  • Deterministic address derivation for StarkNet contract given a seed phrase and class hash
  • Generate a new seed and deploy a contract to a predefined address
  • At default works with the latest trialed-and-tested OZ contract

Installation

yarn install

Testing

yarn test

More testing is required

Deploy account contract

This repo comes with some basic scripts as examples to interact with the library

ts-node ./scripts/deploy.ts

Copy the resulting seed, public key and address to an .env file

Fee Token Addresses

Name Symbol Address
Mainnet Ether ETH 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
Goerli1 Ether ETH 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
Devnet Ether ETH 0x062230ea046a9a5fbc261ac77d03c8d41e5d442db2284587570ab46455fd2488

starknet-cli-wallet's People

Contributors

amanusk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.