Skip to content

madis/d0x-library-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

district0x ClojureScript libraries demos

Fetches the events from ENS contract using district.server.web3-events. ENS contract: https://etherscan.io/address/0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e#code

Contract data under data/ENS.* are from enscontracts node module

Use:

  1. npx shadow-cljs watch script
  2. node out/d0x-library-demo.js

Output:

library-demo.server-events-demo: starting demo
shadow-cljs - #3 ready!
INFO [district.server.web3-events:29] - web3-events checkpoint file disabled
DEBUG [district.server.smart-contracts:264] - Processing chunk of blocks {:contract :ens, :event :NewOwner, :from 900, :to 900}
DEBUG [district.server.smart-contracts:264] - Processing chunk of blocks {:contract :ens, :event :NewOwner, :from 901, :to 901}
DEBUG [district.server.smart-contracts:264] - Processing chunk of blocks {:contract :ens, :event :NewOwner, :from 902, :to 902}
DEBUG [district.server.smart-contracts:264] - Processing chunk of blocks {:contract :ens, :event :NewOwner, :from 903, :to 903}
<...rest of output omitted...>

About

Demonstrating the use of various district0x libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published