Skip to content

An example for interfacing with Ethereum contracts via TypeScript.

License

Notifications You must be signed in to change notification settings

Zoltu/ethereum-typescript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a simple template repository that shows how to interface with a smart contract via TypeScript when you have an ABI to work with. It generates TypeScript classes for your contracts and then uses those to interact with the contract via a simple little node script.

Usage

npm install
npx ts-node ./source/generate-contract-interface.ts
npx ts-node ./source/index.ts

About

An example for interfacing with Ethereum contracts via TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published