Skip to content

zkFold/smart-contract-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkFold Symbolic Wallet server and API

This package contains zkFold Wallet backend, including a Haskell API, a wallet server backend and a server executable. The server supports Cardano CIP-30 API.

Building

You'll need Cabal to build this package. Run

cabal build -f pedantic

Running the server

First, set up Maestro API key and endpoint in .env:

API_KEY=
URL=
NETWORK_ID=

After build, replace XXXX with the port number (default is 3000) and run

cabal run symbolic-wallet-server
cabal run symbolic-wallet-server -- --port XXXX

When the server is running, you can query it via curl (assuming that the port is set to 3000):

curl -X GET localhost:3000/api/getExtensions
curl -H "Content-Type: application/json" -X POST localhost:3000/api/getUtxos -d '{"walletId": "testWallet"}'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published