{"id":21519180,"url":"https://github.com/dcspark/bridge-minter","last_synced_at":"2025-08-16T22:32:16.594Z","repository":{"id":110084293,"uuid":"578394220","full_name":"dcSpark/bridge-minter","owner":"dcSpark","description":"A parameterized minting and burning contract for bridging NFTs.","archived":false,"fork":false,"pushed_at":"2022-12-15T00:28:16.000Z","size":38,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T22:08:25.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcSpark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-15T00:22:57.000Z","updated_at":"2023-02-20T14:30:01.000Z","dependencies_parsed_at":"2023-04-01T16:11:41.078Z","dependency_job_id":null,"html_url":"https://github.com/dcSpark/bridge-minter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcSpark/bridge-minter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fbridge-minter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fbridge-minter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fbridge-minter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fbridge-minter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcSpark","download_url":"https://codeload.github.com/dcSpark/bridge-minter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fbridge-minter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270781196,"owners_count":24643804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:56:04.674Z","updated_at":"2025-08-16T22:32:16.583Z","avatar_url":"https://github.com/dcSpark.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plutus Minting \u0026 Burning Contract\n\n# Usage\n\nThis contract is meant to create a unique minting and burning contract for every\nERC721 smart contract that is bridged to the Cardano blockchain.\n\nThe ERC721 id is used to configure the smart contract, along with a \"permission NFT\" policy id and token name. Using the ERC721 id as part of the configuration ensures the policy id for the NFTs are unique. The permission NFT is required to be spent in either the minting or burning transaction.\n\nMultiple NFTs can be minted or burned in a transaction. However, to ensure that NFTs are minted, only one token for each token name can be minted in a transactions.\n\n# Assets\n\nThe compiled Plutus script is checked in to the following location:\n- `assets/bridge.plutus`\n- `assets/bridge-policy-id.txt`\n\n# Compiling\n\nCompliation has been validated with GHC 8.10.7.\n\nTo compile call the compile script:\n\n```bash\n./scripts/compile\n```\n\n# Example Transaction\n\nExample transactions are provided in the folder `scripts/happy-path`.\n\n### ⚠️ Warning\nRunning the example transactions requires `cardano-cli-balance-fixer` which can installed from this repo: https://github.com/Canonical-LLC/cardano-cli-balance-fixer\n\nFirst, create the protocol params file with:\n\n```bash\n./scripts/query-protocol-parameters.sh\n```\n\nTo use the transactions, first test datums and wallets must be created.\n\n## Test Wallet Creation\n\nRun:\n\n```bash\n./scripts/wallets/make-all-wallets.sh\n```\n\n## Environment Variable Setup\n\nTo setup the proper flags and socket variables for the test transactions, one must source the appropiate environment variables.\n\n### ⚠️ Warning\nTo use the local testnet envars, the file must be modified to point to your local testnet location.\n\n- Local testnet: `source scripts/envars/local-testnet.envars`\n- Shared testnet: `source scripts/envars/testnet-env.envars`\n- Mainnet: `source scripts/envars/mainnet-env.envars`\n\nNow, one can run the `scripts/happy-path/` transactions.\n\n# Testing\n\n### ⚠️ Prerequistes\n**Follow all the setup steps in the `Example Transaction` section, before continuing.**\n\nThere is a single test script, which performs a number of integration tests functions.\n\nTo execute the integration test, run:\n\n```bash\n./scripts/tests/mint-burn.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fbridge-minter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcspark%2Fbridge-minter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fbridge-minter/lists"}