Skip to content

The prophet - teller of state of smartweave contracts

Notifications You must be signed in to change notification settings

rareweave/prophet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prophet by RareWeave

Prophet is very simple implementation of SmartWeave Delegated Resolution Environment Node (https://academy.warp.cc/docs/dre/overview).

Supports bundled (but indexed) interactions/contracts.

Supports Warp Sequencer (as it seeds interactions to bundlr network)

Does NOT support contract queries yet (only telling state).

Does NOT store cache (yet), only in memory

Installation

You need Node.js 16+

git clone https://github.com/rareweave/prophet prophet
cd prophet
yarn

Now open config.json5 in convenient file editor and insert contracts codes you want to allow there, configure gateways.

Now you're ready to go! Run prophet.

yarn start

Now check it's working

curl http://127.0.0.1:8181/contract?id=rUZicjroUM2Bo9l3uCdHP-arXggMZJ7T_ure3k5H8Sw # your own contract id

# {"status":"evaluated","contractTxId":"rUZicjroUM2Bo9l3uCdHP-arXggMZJ7T_ure3k5H8Sw","state":{"owner":"udOL7D7qkfFyfnkxfRQA0r1Eoz1-XRwUOSLfiCFee38","minter":"udOL...

About

The prophet - teller of state of smartweave contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published