Sign inSign up

johann1999/edc-interface

By johann1999

•Updated over 3 years ago

Tezos Blockchain Interface for forwarding Assets, Policies and Contracts from EDC interactions.

Image
0

499

johann1999/edc-interface repository overview

⁠EDC Interface

⁠Run the container

You can run the server in a Docker container. Make sure to add you Pinata KEY as an environment variable in the docker run command.

docker run -d --env PINATA_KEY=<JWT key> -p 3000:3000 --name edc-interface edc-interface

⁠Swagger Documentation

The documentation can be viewed on http://localhost:3000/docs⁠ when server runs.

⁠GitHub Reference

Visit the GitHub Page: https://github.com/johannha/edc-interface/tree/demo_v1⁠.

⁠Contract Information

Metadata of FA2 contracts is generated with the support of @taqueria/plugin-metadata feature to comply with TZIP-16 standard.

Following smart contracts are originated and can be used for minting:

⁠Tezos Account

Feel free to use the current tezos account included in ./.taq/config.json⁠ for testing.

You can easily create your own account and change it in the config file.

When originating new contracts, make sure to update the new addresses in ./contractConfig.json⁠.

⁠Contract Origination

Compile Asset Contract:

npm run compileAssetContract

Deploy Asset Contract:

npm run deployAssetContract

Alternatively:

~/smartpy-cli/SmartPy.sh originate-contract --code ./artifacts/contractContract/step_000_cont_0_contract.tz --storage ./artifacts/contractContract/step_000_cont_0_storage.tz --rpc https://rpc.ghostnet.teztnets.xyz/

Tag summary

Content type

Image

Digest

sha256:0584f2673…

Size

77.6 MB

Last updated

almost 4 years ago

docker pull johann1999/edc-interface