sCrypt-Inc / scryptTS-examples

Examples of using scryptTS
https://scrypt.io/scryptTS
11 stars 5 forks source link

rename scrypts/ to artifacts/ #56

Closed xhliu closed 1 year ago

xhliu commented 1 year ago

so users do NOT see and know scrypt. https://github.com/sCrypt-Inc/scryptTS-examples/blob/b995916db10843a58cf31341902b8cace5138b86/tsconfig.json#L22

Similar to hardhat

// For Truffle
const contract = require("./build/contracts/HelloWorld.json");

// For Hardhat
const contract = require("../artifacts/contracts/HelloWorld.sol/HelloWorld.json");
xhliu commented 1 year ago

Same for tictactoe

artifact -> artifacts

    "plugins": [
      {
        "transform": "scrypt-ts/dist/transformation/transformer",
        "outDir": "./artifact",
        "transformProgram": true
      }
xhliu commented 1 year ago

https://github.com/orgs/sCrypt-Inc/projects/1/views/1?filterQuery=assignee%3Azhfnjust&pane=issue&itemId=21913021