patractlabs / redspot

Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.

Home Page:https://redspot.patract.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configuring @polkadot-js/api to use custom types w/ redspot

VadneyK opened this issue · comments

Hello I'm trying to deploy to dusty, the plasm test net via redspot by following the tutorial here.
In order to do this I need to use a custom type for the api object.
I saw in the docs that the extendedEnvirionment() can help with this.

does this properly set the api imported from network to have the types field set as in @polkadot-js/api? is the network api instance treated the same as the modified api in the extendedEnvironment() call?

Here is my attempt at editing deploy.ts to recognize the smartcontract via adding the custom plasm/types. all other files are not changed :

Screen Shot 2021-06-03 at 10 45 49 AM

I also saw that there are type definitions in redspot.config.ts but since I am using a custom type that requires an import, I cant configure the types there, correct?

In fact, in your case, you should not use extendedEnvironment, you should use redspot.config.

example:
redspot.config.ts

import types from "@plasm/types";
...
export default {
  network: {
     ...
     plasm: {
      endpoint: "wss://....",
      gasLimit: "400000000000",
      accounts: [process.env.YOUR_ACCOUNT_SURI],
      types: {
        ...types.dustyDefinitions,
      },
    },
   ....
  }
}

Then when you run the script you can specify the network: REDSPOT_NETWORK=plasm npx redspot ./scripts/deploy.ts

Now you can access the api object inside your code, which already contains the configured types:

import { network, patract } from "redspot";
const {  api } = network;

console.log(api.registry.knownTypes)

This is the configuration document

https://docs.patract.io/en/redspot/configuration.html#configuration-options

We are in the process of optimizing the English documentation. But the translation may not be very good now.

thanks!

so do I set REDSPOT_NETWORK=plasm in a .env file then run
npx redspot ./scripts/deploy.ts and change the config file as you recommended ? I dont see a process.env.REDSPOT_NETWORK call anywhere but is that in the library of the redspot code so it uses the env var I set?

Yes, it is not mentioned inside the documentation. We have just finished developing all the main features. So the next step is to improve the documentation.
image
When you type npx redspot you will see the help message
The GLOBAL OPTIONS can be replaced by environment variables. For example, REDSPOT_NETWORK=plasm npx redspot ./scripts/deploy.ts and npx redspot ./scripts/deploy.ts --network plasm are the same.
It is better not to set GLOBAL OPTIONS in the .env file

For plasm, I also found a problem with their npm package, which is the esm module. We don't support esm yet. So you need to set his types manually.

plasm: {
      endpoint: "...",
      gasLimit: "400000000000",
      accounts: [process.env.YOUR_ACCOUNT_SURI],
      types: {
        AccountInfo: "AccountInfoWithProviders",
        AuthorityId: "AccountId",
        AuthorityVote: "u32",
        ChallengeGameOf: {
          challenges: "Vec<Hash>",
          createdBlock: "BlockNumber",
          decision: "Decision",
          propertyHash: "Hash",
        },
        Claim: {
          amount: "u128",
          approve: "BTreeSet<AuthorityId>",
          complete: "bool",
          decline: "BTreeSet<AuthorityId>",
          params: "Lockdrop",
        },
        ClaimId: "H256",
        ClaimVote: {
          approve: "bool",
          authority: "u16",
          claim_id: "ClaimId",
        },
        Decision: {
          _enum: ["Undecided", "True", "False"],
        },
        DollarRate: "u128",
        EraIndex: "u32",
        EraStakingPoints: {
          individual: "BTreeMap<AccountId, Balance>",
          total: "Balance",
        },
        Keys: "SessionKeys3",
        Lockdrop: {
          duration: "u64",
          public_key: "[u8; 33]",
          transaction_hash: "H256",
          type: "u8",
          value: "u128",
        },
        Parameters: {
          canBeNominated: "bool",
          optionExpired: "u128",
          optionP: "u32",
        },
        PredicateContractOf: {
          inputs: "Vec<u8>",
          predicateHash: "Hash",
        },
        PredicateHash: "Hash",
        PrefabOvmModule: {
          code: "Vec<u8>",
          scheduleVersion: "u32",
        },
        Property: {
          inputs: "Vec<Vec<u8>>",
          predicateAddress: "AccountId",
        },
        PropertyOf: {
          inputs: "Vec<Vec<u8>>",
          predicateAddress: "AccountId",
        },
        Schedule: {
          putCodePerByteCost: "Weight",
          version: "u32",
        },
        SmartContract: {
          _enum: {
            Wasm: "AccountId",
            Evm: "H160",
          },
        },
        StakingParameters: {
          canBeNominated: "bool",
          optionExpired: "u128",
          optionP: "u32",
        },
        TickerRate: {
          authority: "u16",
          btc: "u128",
          eth: "u128",
        },
        VoteCounts: {
          bad: "u32",
          good: "u32",
        },
      },

thanks! what is meant by process.env.YOUR_ACCOUNT_SURI? can I just replace this with //Alice to get the alice test account to be loaded for testing?

Also I tried what you recommended. first I put REDSPOT_NETWORK=plasm in my .env file under the ers20 folder but I got the following error after compiling and trying to deploy:

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --no-compile
2021-06-04 09:23:04 REGISTRY: Unable to resolve type SmartContract, it will fail on construction
2021-06-04 09:23:04 METADATA: Unknown types found, no types for SmartContract
2021-06-04 09:23:04 API/INIT: Error: FATAL: Unable to initialize the API: createType(SmartContract):: Cannot construct unknown type SmartContract
at EventEmitter.value (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/api/base/Init.cjs:88:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2021-06-04 09:23:04 API/INIT: Error: createType(SmartContract):: Cannot construct unknown type SmartContract
at createTypeUnsafe (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/types/create/createType.cjs:55:11)
at createType (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/types/create/createType.cjs:67:10)
at TypeRegistry.createType (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/types/create/registry.cjs:308:39)
at extendHeadMeta (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:97:53)
at extendPrefixedMap (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:120:23)
at createFunction (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:156:5)
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/metadata/decorate/storage/index.cjs:41:91
at Array.reduce ()
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/metadata/decorate/storage/index.cjs:39:39
at Array.reduce ()

/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/api/base/Init.cjs:88
const error = new Error(FATAL: Unable to initialize the API: ${_error.message});
^
Error: FATAL: Unable to initialize the API: createType(SmartContract):: Cannot construct unknown type SmartContract
at EventEmitter.value (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@polkadot/api/base/Init.cjs:88:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Then I tried with the --network plasm flag and it almost seemed to work:

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --no-compile --network plasm
Balance: {
nonce: '0',
consumers: '0',
providers: '0',
data: { free: '0', reserved: '0', miscFrozen: '0', feeFrozen: '0' }
}
deployedAddress: YoNuCTGb2UTgYZ6AKc9jRUGLxFCK1y2vWbUc9PKbH6BuNJw
2021-06-04 09:23:55 RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low
2021-06-04 09:23:55 DRR: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low
2021-06-04 09:23:55 RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low

ERROR 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low 09:23:55

RedspotPluginError: Instantiation failed
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:191:23
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ContractFactory.instantiateWithCode (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:186:28)
at ContractFactory.deploy (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:236:31)

Why is it saying the instantiation failed? do I have to endow the smart contract with PLD to pay for gas like costs? Am I supposed to accounts: [] <- from redspot.config.ts? I copied the rest of the network definition as you sent

here is the repo of the code I am writing. I'm trying to make a tutorial on how to deploy to plasm via redspot:
https://github.com/PlasmNetwork/tutorials/tree/main/erc20

Screen Shot 2021-06-04 at 9 29 42 AM

First of all, global options does not support configuration using .env files. However, it may be possible to support it in the future.

The reason it fails is because you need to have an account with a sufficient balance in it

image

You need to understand this code. In this case suri is the private key of your account. You can find a detailed explanation of suri here (https://polkadot.js.org/docs/keyring/start/suri/).

Ahh makes sense, my bad. Thanks! I got the code to deploy but it won't instantiate for some reason now. It doesn't seem to show the error message but it does say where the error is. I tried running with verbose but my account seems to have 0 PLD on the polkadot UI even though on the first transaction I can see I have ~999k PLD and am told by the error message that I now have 0 PLD, which is a seperate issue. Here is the first error:

Screen Shot 2021-06-07 at 4 03 18 PM

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --no-compile --network plasm
Balance: {
nonce: '5',
consumers: '0',
providers: '1',
data: {
free: '999.4799 kPLD',
reserved: '0',
miscFrozen: '0',
feeFrozen: '0'
}
}
deployedAddress: YggyMeXxtpbZsPn2yJUiY5YGNmoxZfUADfQzZ38HsPqCbty

ERROR { 16:04:51
data: SubmittableResult {
dispatchError: undefined,
dispatchInfo: undefined,
internalError: undefined,
events: [],
status: Type {
registry: [TypeRegistry],
createdAtHash: undefined,
isFuture: [Getter],
asFuture: [Getter],
isReady: [Getter],
asReady: [Getter],
isBroadcast: [Getter],
asBroadcast: [Getter],
isInBlock: [Getter],
asInBlock: [Getter],
isRetracted: [Getter],
asRetracted: [Getter],
isFinalityTimeout: [Getter],
asFinalityTimeout: [Getter],
isFinalized: [Getter],
asFinalized: [Getter],
isUsurped: [Getter],
asUsurped: [Getter],
isDropped: [Getter],
asDropped: [Getter],
isInvalid: [Getter],
asInvalid: [Getter]
}
}
}

RedspotPluginError: Instantiation failed
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:191:23
at ContractFactory.instantiateWithCode (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:186:28)
at ContractFactory.deploy (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:236:31)

I run the same command immediately after and I am told all of my funds are gone:

Screen Shot 2021-06-07 at 4 15 13 PM

kentarovadney@Kentaros-MacBook-Air erc20 %
kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --no-compile --network plasm --verbose
redspot:core:global-dir Looking up Client Id at /Users/kentarovadney/Library/Application Support/redspot-nodejs/analytics.json +0ms
redspot:core:global-dir Client Id found: 70121798-5825-4397-911f-24b9c98043d1 +1ms
redspot:core:hre Creating RedspotRuntimeEnvironment +0ms
redspot:core:hre Running task run +38ms
redspot:core:tasks:run Running script ./scripts/deploy.ts in a subprocess so we can wait for it to complete +0ms
redspot:core:scripts-runner Creating Redspot subprocess to run ./scripts/deploy.ts +0ms
redspot:core:hre Creating RedspotRuntimeEnvironment +0ms
Balance: {
nonce: '0',
consumers: '0',
providers: '0',
data: { free: '0', reserved: '0', miscFrozen: '0', feeFrozen: '0' }
}
deployedAddress: aPGsxF2UVvcPa4EJkfTsQ39iMB9TrkPbbik6JANewuvcu2h
2021-06-07 16:11:45 RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low
2021-06-07 16:11:45 DRR: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low
2021-06-07 16:11:45 RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low

ERROR 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low 16:11:45

RedspotPluginError: Instantiation failed
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:191:23
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ContractFactory.instantiateWithCode (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:186:28)
at ContractFactory.deploy (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:236:31)
^C

Not sure where the issues are from so cross posted on polkadot-js repo: polkadot-js/apps#5487

I'm not quite sure what's going on with this one. Theoretically it's not possible, the account nonce was 5 before and then the account nonce changed to 0 when run again.
It could be because the chain cleared the data and restarted.

It turned out my tokens were being burned, but I'm not sure why the nonce seems to have been reset... I dont have any control over the dusty chain but I am connecting to my local node that I turn on and off so maybe that is where the nonce is set?

I am running into another issue. I can now deploy but I cannot instantiate for some reason. I have not modified the original code and is still viewable in the git repo link above:

Sorry did not realize I put the wrong image here. Here was my error. The code deployed but did not instantiate. Also using the --dev --ws-external --rpc-external --tmp --rpc-cors all flags made me unable to connect to my dusty account:

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --network dusty
Ink: 1 matches 17:03:12

===== Compile erc20 =====

[1/5] Building cargo project
Updating crates.io index
Updating git repository https://github.com/paritytech/ink
Finished release [optimized] target(s) in 0.78s
[2/5] Post processing wasm file
[3/5] Optimizing wasm file
[4/5] Generating metadata
Updating git repository https://github.com/paritytech/ink
Updating crates.io index
Compiling metadata-gen v0.1.0 (/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/cargo-contract_BIHsnW/.ink/metadata_gen)
Finished release [optimized] target(s) in 1.58s
Running target/ink/release/metadata-gen
[5/5] Generating bundle

Original wasm size: 54.2K, Optimized: 32.7K

Your contract artifacts are ready. You can find them in:
/Users/kentarovadney/Desktop/code/tutorials/erc20/contracts/target/ink

  • erc20.contract (code + metadata)
  • erc20.wasm (the contract's code)
  • metadata.json (the contract's metadata)

🎉 Compile successfully! You can find all artifacts at /Users/kentarovadney/Desktop/code/tutorials/erc20/artifacts
Balance: {
nonce: '3',
consumers: '0',
providers: '1',
data: {
free: '99.0125 kPLD',
reserved: '0',
miscFrozen: '0',
feeFrozen: '0'
}
}
deployedAddress: WcCiPzjVrr7rsgqvKfWqrCXcD6ZBzA8Ye7bhjgdBcv5r2XC

ERROR { 17:03:49
data: SubmittableResult {
dispatchError: undefined,
dispatchInfo: undefined,
internalError: undefined,
events: [],
status: Type {
registry: [TypeRegistry],
createdAtHash: undefined,
isFuture: [Getter],
asFuture: [Getter],
isReady: [Getter],
asReady: [Getter],
isBroadcast: [Getter],
asBroadcast: [Getter],
isInBlock: [Getter],
asInBlock: [Getter],
isRetracted: [Getter],
asRetracted: [Getter],
isFinalityTimeout: [Getter],
asFinalityTimeout: [Getter],
isFinalized: [Getter],
asFinalized: [Getter],
isUsurped: [Getter],
asUsurped: [Getter],
isDropped: [Getter],
asDropped: [Getter],
isInvalid: [Getter],
asInvalid: [Getter]
}
}
}

RedspotPluginError: Instantiation failed
at /Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:191:23
at ContractFactory.instantiateWithCode (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:186:28)
at ContractFactory.deploy (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:236:31)
at run (/Users/kentarovadney/Desktop/code/tutorials/erc20/scripts/deploy.ts:19:20)

Screen Shot 2021-06-10 at 5 42 50 PM

@VadneyK I've added the plasm example and it should work.

Steps to run the plasm example:

  1. git clone https://github.com/patractlabs/redspot.git
  2. cd redspot
  3. yarn
  4. yarn build
  5. cd examples/plasm
  6. yarn
  7. Download the binary version of plasm, https://github.com/PlasmNetwork/Plasm/releases/tag/v1.9.0-dusty
  8. Run plasm: ./plasm --dev --ws-external --rpc-external --tmp --rpc-cors all
  9. Run deploy: npx redspot run ./scripts/deploy.ts

image

Awesome, thanks! I guess the instantiation is not needed for non-erc since once the contract is deployed it is enough so the deploy.ts was edited to reflect this right?

I added the plasm network config in redspot.config.ts that you told me earlier. I also changed the account address to mine: aeb1K2DkaDS82wnCaARitF7G8QjSKSxJQpb8u4nGuQf3p2F but I get the following error, and my yarn looks different than usual. Is this a new update? I also update my comment above. Sorry! posted the totally wrong thing before. I think I might have been closer there. I can't instantiate and checking the contract deployed address yields no results is the only problems left! Also what network are you deploying to that has a TS currency? shouldn't the currency displayed be PLD for Plasm Dusty tokens?

kentarovadney@Kentaros-MacBook-Air plasm % npx redspot run ./scripts/deploy.ts --network dusty
An unexpected error occurred:

Error: Could not locate the bindings file. Tried:
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/Debug/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/Release/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/out/Debug/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/Debug/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/out/Release/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/Release/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/default/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/compiled/16.2.0/darwin/arm64/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/release/install-root/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/debug/install-root/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/default/install-root/deasync.node
→ /Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/lib/binding/node-v93-darwin-arm64/deasync.node
at bindings (/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/bindings/bindings.js:126:9)
at Object. (/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/index.js:30:31)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module.load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/@redspot/gas-reporter/reporter/index.js:7:35)
at Module.compile (node:internal/modules/cjs/loader:1109:14) {
tries: [
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/Debug/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/Release/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/out/Debug/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/Debug/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/out/Release/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/Release/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/build/default/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/compiled/16.2.0/darwin/arm64/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/release/install-root/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/debug/install-root/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/addon-build/default/install-root/deasync.node',
'/Users/kentarovadney/Desktop/code/redspot/examples/plasm/node_modules/deasync/lib/binding/node-v93-darwin-arm64/deasync.node'
]
}
kentarovadney@Kentaros-MacBook-Air plasm %
kentarovadney@Kentaros-MacBook-Air plasm % ls
README.md index.js package.json scripts tsconfig.json
contracts node_modules redspot.config.ts tests yarn.lock
kentarovadney@Kentaros-MacBook-Air plasm % yarn
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 2s 327ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 231ms
➤ YN0000: ┌ Link step
➤ YN0007: │ deasync@npm:0.1.21 must be built because it never did before or the last one failed
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r
/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-9197a569/build.log)
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r
/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-9197a569/build.log)
➤ YN0000: └ Completed in 1s 390ms
➤ YN0000: Failed with errors in 3s 986ms

also npm i seemed to work but yarn still fails:

kentarovadney@Kentaros-MacBook-Air plasm % npm i

removed 485 packages, changed 8 packages, and audited 27 packages in 2s

found 0 vulnerabilities
kentarovadney@Kentaros-MacBook-Air plasm % yarn
➤ YN0000: ┌ Resolution step
➤ YN0014: │ @redspot/chai@../../build/redspot-chai: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-chai")
➤ YN0014: │ @redspot/decimals@../../build/redspot-decimals: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-decimals")
➤ YN0014: │ @redspot/explorer@../../build/redspot-explorer: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-explorer")
➤ YN0014: │ @redspot/gas-reporter@../../build/redspot-gas-reporter: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-gas-reporter")
➤ YN0014: │ @redspot/known-types@../../build/redspot-known-types: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-known-types")
➤ YN0014: │ @redspot/patract@../../build/redspot-patract: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-patract")
➤ YN0014: │ @redspot/watcher@../../build/redspot-watcher: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-watcher")
➤ YN0014: │ redspot@../../build/redspot-core: Only some patterns can be imported from legacy lockfiles (not "file:../../build/redspot-core")
➤ YN0013: │ @redspot/watcher@file:../../build/redspot-watcher#../../build/redspot-watcher::hash=43a62c&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/gas-reporter@file:../../build/redspot-gas-reporter#../../build/redspot-gas-reporter::hash=451317&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/known-types@file:../../build/redspot-known-types#../../build/redspot-known-types::hash=0768ff&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/patract@file:../../build/redspot-patract#../../build/redspot-patract::hash=e79a47&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/decimals@file:../../build/redspot-decimals#../../build/redspot-decimals::hash=6e102c&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/gas-reporter@file:../../build/redspot-gas-reporter#../../build/redspot-gas-reporter::hash=451317&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/known-types@file:../../build/redspot-known-types#../../build/redspot-known-types::hash=0768ff&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/patract@file:../../build/redspot-patract#../../build/redspot-patract::hash=e79a47&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk
➤ YN0013: │ @redspot/decimals@file:../../build/redspot-decimals#../../build/redspot-decimals::hash=6e102c&locator=erc20%40workspace%3A. can't be found in the cache and will be fetched from the disk

... snipped ...
➤ YN0013: │ yargs@npm:16.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yeast@npm:0.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zwitch@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yeast@npm:0.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zwitch@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0019: │ @babel-runtime-npm-7.13.10-d9a6e8f765-22014226b9.zip appears to be unused - removing
➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zwitch@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0019: │ @babel-runtime-npm-7.13.10-d9a6e8f765-22014226b9.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.14.0-fba2a32266-ab6653f2f8.zip appears to be unused - removing
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zwitch@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0019: │ @babel-runtime-npm-7.13.10-d9a6e8f765-22014226b9.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.14.0-fba2a32266-ab6653f2f8.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-known-npm-1.1.0-alpha.19-ebf716e984-a0f4a605fb.zip appears to be unused - removing
➤ YN0013: │ zwitch@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0019: │ @babel-runtime-npm-7.13.10-d9a6e8f765-22014226b9.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.14.0-fba2a32266-ab6653f2f8.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-known-npm-1.1.0-alpha.19-ebf716e984-a0f4a605fb.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-npm-1.1.0-alpha.19-9f3ef04aec-e17e1fdb1c.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.13.10-d9a6e8f765-22014226b9.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.14.0-fba2a32266-ab6653f2f8.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-known-npm-1.1.0-alpha.19-ebf716e984-a0f4a605fb.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-npm-1.1.0-alpha.19-9f3ef04aec-e17e1fdb1c.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.scandir-npm-2.1.4-6f6ddb2372-30b3102ee3.zip appears to be unused - removing
➤ YN0019: │ @babel-runtime-npm-7.14.0-fba2a32266-ab6653f2f8.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-known-npm-1.1.0-alpha.19-ebf716e984-a0f4a605fb.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-npm-1.1.0-alpha.19-9f3ef04aec-e17e1fdb1c.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.scandir-npm-2.1.4-6f6ddb2372-30b3102ee3.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.stat-npm-2.0.4-0b2acf9d70-6454a79e94.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-known-npm-1.1.0-alpha.19-ebf716e984-a0f4a605fb.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-npm-1.1.0-alpha.19-9f3ef04aec-e17e1fdb1c.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.scandir-npm-2.1.4-6f6ddb2372-30b3102ee3.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.stat-npm-2.0.4-0b2acf9d70-6454a79e94.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.walk-npm-1.2.6-b686194e9d-d0503ffd0b.zip appears to be unused - removing
➤ YN0019: │ @darwinia-types-npm-1.1.0-alpha.19-9f3ef04aec-e17e1fdb1c.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.scandir-npm-2.1.4-6f6ddb2372-30b3102ee3.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.stat-npm-2.0.4-0b2acf9d70-6454a79e94.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.walk-npm-1.2.6-b686194e9d-d0503ffd0b.zip appears to be unused - removing
➤ YN0019: │ @polkadot-keyring-npm-6.5.1-3a522bff6c-695dc1c961.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.scandir-npm-2.1.4-6f6ddb2372-30b3102ee3.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.stat-npm-2.0.4-0b2acf9d70-6454a79e94.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.walk-npm-1.2.6-b686194e9d-d0503ffd0b.zip appears to be unused - removing
➤ YN0019: │ @polkadot-keyring-npm-6.5.1-3a522bff6c-695dc1c961.zip appears to be unused - removing
➤ YN0019: │ @polkadot-networks-npm-6.5.1-333bda3c35-14c9db5535.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.stat-npm-2.0.4-0b2acf9d70-6454a79e94.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.walk-npm-1.2.6-b686194e9d-d0503ffd0b.zip appears to be unused - removing
➤ YN0019: │ @polkadot-keyring-npm-6.5.1-3a522bff6c-695dc1c961.zip appears to be unused - removing
➤ YN0019: │ @polkadot-networks-npm-6.5.1-333bda3c35-14c9db5535.zip appears to be unused - removing
➤ YN0019: │ @polkadot-util-crypto-npm-6.5.1-3a72a521c3-5d9b623f55.zip appears to be unused - removing
➤ YN0019: │ @nodelib-fs.walk-npm-1.2.6-b686194e9d-d0503ffd0b.zip appears to be unused - removing
➤ YN0019: │ @polkadot-keyring-npm-6.5.1-3a522bff6c-695dc1c961.zip appears to be unused - removing
➤ YN0019: │ @polkadot-networks-npm-6.5.1-333bda3c35-14c9db5535.zip appears to be unused - removing
➤ YN0019: │ @polkadot-util-crypto-npm-6.5.1-3a72a521c3-5d9b623f55.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-fetch-npm-6.5.1-ea619d4e75-8eb08c5d70.zip appears to be unused - removing
➤ YN0019: │ @polkadot-keyring-npm-6.5.1-3a522bff6c-695dc1c961.zip appears to be unused - removing
➤ YN0019: │ @polkadot-networks-npm-6.5.1-333bda3c35-14c9db5535.zip appears to be unused - removing
➤ YN0019: │ @polkadot-util-crypto-npm-6.5.1-3a72a521c3-5d9b623f55.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-fetch-npm-6.5.1-ea619d4e75-8eb08c5d70.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-randomvalues-npm-6.5.1-87735e2d8b-150644b6a7.zip appears to be unused - removing
➤ YN0019: │ @polkadot-networks-npm-6.5.1-333bda3c35-14c9db5535.zip appears to be unused - removing
➤ YN0019: │ @polkadot-util-crypto-npm-6.5.1-3a72a521c3-5d9b623f55.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-fetch-npm-6.5.1-ea619d4e75-8eb08c5d70.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-randomvalues-npm-6.5.1-87735e2d8b-150644b6a7.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-rxjs-npm-6.5.1-b020654ee4-cb87416549.zip appears to be unused - removing
➤ YN0019: │ @polkadot-util-crypto-npm-6.5.1-3a72a521c3-5d9b623f55.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-fetch-npm-6.5.1-ea619d4e75-8eb08c5d70.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-randomvalues-npm-6.5.1-87735e2d8b-150644b6a7.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-rxjs-npm-6.5.1-b020654ee4-cb87416549.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-ws-npm-6.5.1-30bd69a749-673d4e5ef4.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-fetch-npm-6.5.1-ea619d4e75-8eb08c5d70.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-randomvalues-npm-6.5.1-87735e2d8b-150644b6a7.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-rxjs-npm-6.5.1-b020654ee4-cb87416549.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-ws-npm-6.5.1-30bd69a749-673d4e5ef4.zip appears to be unused - removing
➤ YN0019: │ @types-chai-npm-4.2.15-b7bcad9b8e-671073ece0.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-randomvalues-npm-6.5.1-87735e2d8b-150644b6a7.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-rxjs-npm-6.5.1-b020654ee4-cb87416549.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-ws-npm-6.5.1-30bd69a749-673d4e5ef4.zip appears to be unused - removing
➤ YN0019: │ @types-chai-npm-4.2.15-b7bcad9b8e-671073ece0.zip appears to be unused - removing
➤ YN0019: │ @types-mocha-npm-8.2.1-159ec7495c-43585ae2a1.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-rxjs-npm-6.5.1-b020654ee4-cb87416549.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-ws-npm-6.5.1-30bd69a749-673d4e5ef4.zip appears to be unused - removing
➤ YN0019: │ @types-chai-npm-4.2.15-b7bcad9b8e-671073ece0.zip appears to be unused - removing
➤ YN0019: │ @types-mocha-npm-8.2.1-159ec7495c-43585ae2a1.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-10.17.54-d91b5c56f9-6f718d5d37.zip appears to be unused - removing
➤ YN0019: │ @polkadot-x-ws-npm-6.5.1-30bd69a749-673d4e5ef4.zip appears to be unused - removing
➤ YN0019: │ @types-chai-npm-4.2.15-b7bcad9b8e-671073ece0.zip appears to be unused - removing
➤ YN0019: │ @types-mocha-npm-8.2.1-159ec7495c-43585ae2a1.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-10.17.54-d91b5c56f9-6f718d5d37.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-14.14.31-4f1a9dff64-635dc8a089.zip appears to be unused - removing
➤ YN0019: │ @types-chai-npm-4.2.15-b7bcad9b8e-671073ece0.zip appears to be unused - removing
➤ YN0019: │ @types-mocha-npm-8.2.1-159ec7495c-43585ae2a1.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-10.17.54-d91b5c56f9-6f718d5d37.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-14.14.31-4f1a9dff64-635dc8a089.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-15.6.1-1a0b9c8653-07b3855bc0.zip appears to be unused - removing
➤ YN0019: │ @types-mocha-npm-8.2.1-159ec7495c-43585ae2a1.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-10.17.54-d91b5c56f9-6f718d5d37.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-14.14.31-4f1a9dff64-635dc8a089.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-15.6.1-1a0b9c8653-07b3855bc0.zip appears to be unused - removing
➤ YN0019: │ @types-qs-npm-6.9.5-98e83ee762-afe4721a80.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-10.17.54-d91b5c56f9-6f718d5d37.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-14.14.31-4f1a9dff64-635dc8a089.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-15.6.1-1a0b9c8653-07b3855bc0.zip appears to be unused - removing
➤ YN0019: │ @types-qs-npm-6.9.5-98e83ee762-afe4721a80.zip appears to be unused - removing
➤ YN0019: │ ajv-npm-6.12.6-4b5105e2b2-19a8f3b0a0.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-14.14.31-4f1a9dff64-635dc8a089.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-15.6.1-1a0b9c8653-07b3855bc0.zip appears to be unused - removing
➤ YN0019: │ @types-qs-npm-6.9.5-98e83ee762-afe4721a80.zip appears to be unused - removing
➤ YN0019: │ ajv-npm-6.12.6-4b5105e2b2-19a8f3b0a0.zip appears to be unused - removing
➤ YN0019: │ anymatch-npm-3.1.1-7dcfa6178a-cf61bbaf7f.zip appears to be unused - removing
➤ YN0019: │ @types-node-npm-15.6.1-1a0b9c8653-07b3855bc0.zip appears to be unused - removing
➤ YN0019: │ @types-qs-npm-6.9.5-98e83ee762-afe4721a80.zip appears to be unused - removing
➤ YN0019: │ ajv-npm-6.12.6-4b5105e2b2-19a8f3b0a0.zip appears to be unused - removing
➤ YN0019: │ anymatch-npm-3.1.1-7dcfa6178a-cf61bbaf7f.zip appears to be unused - removing
➤ YN0019: │ asn1-npm-0.2.4-219dd49411-5743ace942.zip appears to be unused - removing
➤ YN0019: │ @types-qs-npm-6.9.5-98e83ee762-afe4721a80.zip appears to be unused - removing
➤ YN0019: │ ajv-npm-6.12.6-4b5105e2b2-19a8f3b0a0.zip appears to be unused - removing
➤ YN0019: │ anymatch-npm-3.1.1-7dcfa6178a-cf61bbaf7f.zip appears to be unused - removing
➤ YN0019: │ asn1-npm-0.2.4-219dd49411-5743ace942.zip appears to be unused - removing
➤ YN0019: │ assert-plus-npm-1.0.0-cac95ef098-1bda24f673.zip appears to be unused - removing
➤ YN0019: │ ajv-npm-6.12.6-4b5105e2b2-19a8f3b0a0.zip appears to be unused - removing
➤ YN0019: │ anymatch-npm-3.1.1-7dcfa6178a-cf61bbaf7f.zip appears to be unused - removing
➤ YN0019: │ asn1-npm-0.2.4-219dd49411-5743ace942.zip appears to be unused - removing
➤ YN0019: │ assert-plus-npm-1.0.0-cac95ef098-1bda24f673.zip appears to be unused - removing
➤ YN0019: │ aws-sign2-npm-0.7.0-656c6cb84d-7162b9b8fb.zip appears to be unused - removing
➤ YN0019: │ anymatch-npm-3.1.1-7dcfa6178a-cf61bbaf7f.zip appears to be unused - removing
➤ YN0019: │ asn1-npm-0.2.4-219dd49411-5743ace942.zip appears to be unused - removing
➤ YN0019: │ assert-plus-npm-1.0.0-cac95ef098-1bda24f673.zip appears to be unused - removing
➤ YN0019: │ aws-sign2-npm-0.7.0-656c6cb84d-7162b9b8fb.zip appears to be unused - removing
➤ YN0019: │ aws4-npm-1.11.0-283476ad94-d30dce2b73.zip appears to be unused - removing
➤ YN0019: │ asn1-npm-0.2.4-219dd49411-5743ace942.zip appears to be unused - removing
➤ YN0019: │ assert-plus-npm-1.0.0-cac95ef098-1bda24f673.zip appears to be unused - removing
➤ YN0019: │ aws-sign2-npm-0.7.0-656c6cb84d-7162b9b8fb.zip appears to be unused - removing
➤ YN0019: │ aws4-npm-1.11.0-283476ad94-d30dce2b73.zip appears to be unused - removing
➤ YN0019: │ balanced-match-npm-1.0.0-951a2ad706-f515a605fe.zip appears to be unused - removing
➤ YN0019: │ assert-plus-npm-1.0.0-cac95ef098-1bda24f673.zip appears to be unused - removing
➤ YN0019: │ aws-sign2-npm-0.7.0-656c6cb84d-7162b9b8fb.zip appears to be unused - removing
➤ YN0019: │ aws4-npm-1.11.0-283476ad94-d30dce2b73.zip appears to be unused - removing
➤ YN0019: │ balanced-match-npm-1.0.0-951a2ad706-f515a605fe.zip appears to be unused - removing
➤ YN0019: │ bcrypt-pbkdf-npm-1.0.2-80db8b16ed-3f57eb99bb.zip appears to be unused - removing
➤ YN0019: │ aws-sign2-npm-0.7.0-656c6cb84d-7162b9b8fb.zip appears to be unused - removing
➤ YN0019: │ aws4-npm-1.11.0-283476ad94-d30dce2b73.zip appears to be unused - removing
➤ YN0019: │ balanced-match-npm-1.0.0-951a2ad706-f515a605fe.zip appears to be unused - removing
➤ YN0019: │ bcrypt-pbkdf-npm-1.0.2-80db8b16ed-3f57eb99bb.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-4.11.9-c739f92b89-31630d3560.zip appears to be unused - removing
➤ YN0019: │ aws4-npm-1.11.0-283476ad94-d30dce2b73.zip appears to be unused - removing
➤ YN0019: │ balanced-match-npm-1.0.0-951a2ad706-f515a605fe.zip appears to be unused - removing
➤ YN0019: │ bcrypt-pbkdf-npm-1.0.2-80db8b16ed-3f57eb99bb.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-4.11.9-c739f92b89-31630d3560.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-5.1.3-f8c9aed796-991c1fefb0.zip appears to be unused - removing
➤ YN0019: │ balanced-match-npm-1.0.0-951a2ad706-f515a605fe.zip appears to be unused - removing
➤ YN0019: │ bcrypt-pbkdf-npm-1.0.2-80db8b16ed-3f57eb99bb.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-4.11.9-c739f92b89-31630d3560.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-5.1.3-f8c9aed796-991c1fefb0.zip appears to be unused - removing
➤ YN0019: │ chai-npm-4.3.0-21ded4e597-7b9930bb65.zip appears to be unused - removing
➤ YN0019: │ bcrypt-pbkdf-npm-1.0.2-80db8b16ed-3f57eb99bb.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-4.11.9-c739f92b89-31630d3560.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-5.1.3-f8c9aed796-991c1fefb0.zip appears to be unused - removing
➤ YN0019: │ chai-npm-4.3.0-21ded4e597-7b9930bb65.zip appears to be unused - removing
➤ YN0019: │ chalk-npm-4.1.0-c746e252ba-f860285b41.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-4.11.9-c739f92b89-31630d3560.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-5.1.3-f8c9aed796-991c1fefb0.zip appears to be unused - removing
➤ YN0019: │ chai-npm-4.3.0-21ded4e597-7b9930bb65.zip appears to be unused - removing
➤ YN0019: │ chalk-npm-4.1.0-c746e252ba-f860285b41.zip appears to be unused - removing
➤ YN0019: │ dashdash-npm-1.14.1-be8f10a286-5959409ee4.zip appears to be unused - removing
➤ YN0019: │ bn.js-npm-5.1.3-f8c9aed796-991c1fefb0.zip appears to be unused - removing
➤ YN0019: │ chai-npm-4.3.0-21ded4e597-7b9930bb65.zip appears to be unused - removing
➤ YN0019: │ chalk-npm-4.1.0-c746e252ba-f860285b41.zip appears to be unused - removing
➤ YN0019: │ dashdash-npm-1.14.1-be8f10a286-5959409ee4.zip appears to be unused - removing
➤ YN0019: │ ecc-jsbn-npm-0.1.2-85b7a7be89-5b4dd05f24.zip appears to be unused - removing
➤ YN0019: │ chai-npm-4.3.0-21ded4e597-7b9930bb65.zip appears to be unused - removing
➤ YN0019: │ chalk-npm-4.1.0-c746e252ba-f860285b41.zip appears to be unused - removing
➤ YN0019: │ dashdash-npm-1.14.1-be8f10a286-5959409ee4.zip appears to be unused - removing
➤ YN0019: │ ecc-jsbn-npm-0.1.2-85b7a7be89-5b4dd05f24.zip appears to be unused - removing
➤ YN0019: │ env-paths-npm-2.2.0-ac4ed99068-09de4fd1c0.zip appears to be unused - removing
➤ YN0019: │ chalk-npm-4.1.0-c746e252ba-f860285b41.zip appears to be unused - removing
➤ YN0019: │ dashdash-npm-1.14.1-be8f10a286-5959409ee4.zip appears to be unused - removing
➤ YN0019: │ ecc-jsbn-npm-0.1.2-85b7a7be89-5b4dd05f24.zip appears to be unused - removing
➤ YN0019: │ env-paths-npm-2.2.0-ac4ed99068-09de4fd1c0.zip appears to be unused - removing
➤ YN0019: │ execa-npm-5.0.0-4ee568fb49-bf9664702c.zip appears to be unused - removing
➤ YN0019: │ dashdash-npm-1.14.1-be8f10a286-5959409ee4.zip appears to be unused - removing
➤ YN0019: │ ecc-jsbn-npm-0.1.2-85b7a7be89-5b4dd05f24.zip appears to be unused - removing
➤ YN0019: │ env-paths-npm-2.2.0-ac4ed99068-09de4fd1c0.zip appears to be unused - removing
➤ YN0019: │ execa-npm-5.0.0-4ee568fb49-bf9664702c.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.3.0-61a92b324c-892efd56aa.zip appears to be unused - removing
➤ YN0019: │ ecc-jsbn-npm-0.1.2-85b7a7be89-5b4dd05f24.zip appears to be unused - removing
➤ YN0019: │ env-paths-npm-2.2.0-ac4ed99068-09de4fd1c0.zip appears to be unused - removing
➤ YN0019: │ execa-npm-5.0.0-4ee568fb49-bf9664702c.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.3.0-61a92b324c-892efd56aa.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.4.0-2b015bcaab-092e011574.zip appears to be unused - removing
➤ YN0019: │ env-paths-npm-2.2.0-ac4ed99068-09de4fd1c0.zip appears to be unused - removing
➤ YN0019: │ execa-npm-5.0.0-4ee568fb49-bf9664702c.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.3.0-61a92b324c-892efd56aa.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.4.0-2b015bcaab-092e011574.zip appears to be unused - removing
➤ YN0019: │ fast-deep-equal-npm-3.1.3-790edcfcf5-451526766b.zip appears to be unused - removing
➤ YN0019: │ execa-npm-5.0.0-4ee568fb49-bf9664702c.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.3.0-61a92b324c-892efd56aa.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.4.0-2b015bcaab-092e011574.zip appears to be unused - removing
➤ YN0019: │ fast-deep-equal-npm-3.1.3-790edcfcf5-451526766b.zip appears to be unused - removing
➤ YN0019: │ fast-json-stable-stringify-npm-2.1.0-02e8905fda-7df3fabfe4.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.3.0-61a92b324c-892efd56aa.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.4.0-2b015bcaab-092e011574.zip appears to be unused - removing
➤ YN0019: │ fast-deep-equal-npm-3.1.3-790edcfcf5-451526766b.zip appears to be unused - removing
➤ YN0019: │ fast-json-stable-stringify-npm-2.1.0-02e8905fda-7df3fabfe4.zip appears to be unused - removing
➤ YN0019: │ forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip appears to be unused - removing
➤ YN0019: │ extsprintf-npm-1.4.0-2b015bcaab-092e011574.zip appears to be unused - removing
➤ YN0019: │ fast-deep-equal-npm-3.1.3-790edcfcf5-451526766b.zip appears to be unused - removing
➤ YN0019: │ fast-json-stable-stringify-npm-2.1.0-02e8905fda-7df3fabfe4.zip appears to be unused - removing
➤ YN0019: │ forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip appears to be unused - removing
➤ YN0019: │ form-data-npm-2.3.3-c016cc11c0-862e686b10.zip appears to be unused - removing
➤ YN0019: │ fast-deep-equal-npm-3.1.3-790edcfcf5-451526766b.zip appears to be unused - removing
➤ YN0019: │ fast-json-stable-stringify-npm-2.1.0-02e8905fda-7df3fabfe4.zip appears to be unused - removing
➤ YN0019: │ forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip appears to be unused - removing
➤ YN0019: │ form-data-npm-2.3.3-c016cc11c0-862e686b10.zip appears to be unused - removing
➤ YN0019: │ forwarded-npm-0.1.2-6143c1ba42-568d862ad1.zip appears to be unused - removing
➤ YN0019: │ fast-json-stable-stringify-npm-2.1.0-02e8905fda-7df3fabfe4.zip appears to be unused - removing
➤ YN0019: │ forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip appears to be unused - removing
➤ YN0019: │ form-data-npm-2.3.3-c016cc11c0-862e686b10.zip appears to be unused - removing
➤ YN0019: │ forwarded-npm-0.1.2-6143c1ba42-568d862ad1.zip appears to be unused - removing
➤ YN0019: │ get-stream-npm-6.0.0-ca30041dff-4354a4de78.zip appears to be unused - removing
➤ YN0019: │ forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip appears to be unused - removing
➤ YN0019: │ form-data-npm-2.3.3-c016cc11c0-862e686b10.zip appears to be unused - removing
➤ YN0019: │ forwarded-npm-0.1.2-6143c1ba42-568d862ad1.zip appears to be unused - removing
➤ YN0019: │ get-stream-npm-6.0.0-ca30041dff-4354a4de78.zip appears to be unused - removing
➤ YN0019: │ getpass-npm-0.1.7-519164a3be-2650725bc6.zip appears to be unused - removing
➤ YN0019: │ form-data-npm-2.3.3-c016cc11c0-862e686b10.zip appears to be unused - removing
➤ YN0019: │ forwarded-npm-0.1.2-6143c1ba42-568d862ad1.zip appears to be unused - removing
➤ YN0019: │ get-stream-npm-6.0.0-ca30041dff-4354a4de78.zip appears to be unused - removing
➤ YN0019: │ getpass-npm-0.1.7-519164a3be-2650725bc6.zip appears to be unused - removing
➤ YN0019: │ glob-parent-npm-5.1.1-57b061cd88-2af6e196fb.zip appears to be unused - removing
➤ YN0019: │ forwarded-npm-0.1.2-6143c1ba42-568d862ad1.zip appears to be unused - removing
➤ YN0019: │ get-stream-npm-6.0.0-ca30041dff-4354a4de78.zip appears to be unused - removing
➤ YN0019: │ getpass-npm-0.1.7-519164a3be-2650725bc6.zip appears to be unused - removing
➤ YN0019: │ glob-parent-npm-5.1.1-57b061cd88-2af6e196fb.zip appears to be unused - removing
➤ YN0019: │ globby-npm-11.0.2-7ff8329b4b-d23f2a6b88.zip appears to be unused - removing
➤ YN0019: │ get-stream-npm-6.0.0-ca30041dff-4354a4de78.zip appears to be unused - removing
➤ YN0019: │ getpass-npm-0.1.7-519164a3be-2650725bc6.zip appears to be unused - removing
➤ YN0019: │ glob-parent-npm-5.1.1-57b061cd88-2af6e196fb.zip appears to be unused - removing
➤ YN0019: │ globby-npm-11.0.2-7ff8329b4b-d23f2a6b88.zip appears to be unused - removing
➤ YN0019: │ har-schema-npm-2.0.0-3a318c0ca5-e27ac33a96.zip appears to be unused - removing
➤ YN0019: │ getpass-npm-0.1.7-519164a3be-2650725bc6.zip appears to be unused - removing
➤ YN0019: │ glob-parent-npm-5.1.1-57b061cd88-2af6e196fb.zip appears to be unused - removing
➤ YN0019: │ globby-npm-11.0.2-7ff8329b4b-d23f2a6b88.zip appears to be unused - removing
➤ YN0019: │ har-schema-npm-2.0.0-3a318c0ca5-e27ac33a96.zip appears to be unused - removing
➤ YN0019: │ har-validator-npm-5.1.5-bd9ac162f5-01b905cdaa.zip appears to be unused - removing
➤ YN0019: │ glob-parent-npm-5.1.1-57b061cd88-2af6e196fb.zip appears to be unused - removing
➤ YN0019: │ globby-npm-11.0.2-7ff8329b4b-d23f2a6b88.zip appears to be unused - removing
➤ YN0019: │ har-schema-npm-2.0.0-3a318c0ca5-e27ac33a96.zip appears to be unused - removing
➤ YN0019: │ har-validator-npm-5.1.5-bd9ac162f5-01b905cdaa.zip appears to be unused - removing
➤ YN0019: │ http-signature-npm-1.2.0-ee92426f34-d28227eed3.zip appears to be unused - removing
➤ YN0019: │ globby-npm-11.0.2-7ff8329b4b-d23f2a6b88.zip appears to be unused - removing
➤ YN0019: │ har-schema-npm-2.0.0-3a318c0ca5-e27ac33a96.zip appears to be unused - removing
➤ YN0019: │ har-validator-npm-5.1.5-bd9ac162f5-01b905cdaa.zip appears to be unused - removing
➤ YN0019: │ http-signature-npm-1.2.0-ee92426f34-d28227eed3.zip appears to be unused - removing
➤ YN0019: │ isstream-npm-0.1.2-8581c75385-8e6e5c4cf1.zip appears to be unused - removing
➤ YN0019: │ har-schema-npm-2.0.0-3a318c0ca5-e27ac33a96.zip appears to be unused - removing
➤ YN0019: │ har-validator-npm-5.1.5-bd9ac162f5-01b905cdaa.zip appears to be unused - removing
➤ YN0019: │ http-signature-npm-1.2.0-ee92426f34-d28227eed3.zip appears to be unused - removing
➤ YN0019: │ isstream-npm-0.1.2-8581c75385-8e6e5c4cf1.zip appears to be unused - removing
➤ YN0019: │ jsbn-npm-0.1.1-0eb7132404-b530d48a64.zip appears to be unused - removing
➤ YN0019: │ har-validator-npm-5.1.5-bd9ac162f5-01b905cdaa.zip appears to be unused - removing
➤ YN0019: │ http-signature-npm-1.2.0-ee92426f34-d28227eed3.zip appears to be unused - removing
➤ YN0019: │ isstream-npm-0.1.2-8581c75385-8e6e5c4cf1.zip appears to be unused - removing
➤ YN0019: │ jsbn-npm-0.1.1-0eb7132404-b530d48a64.zip appears to be unused - removing
➤ YN0019: │ json-schema-npm-0.2.3-018ee3dfc9-d382ea841f.zip appears to be unused - removing
➤ YN0019: │ http-signature-npm-1.2.0-ee92426f34-d28227eed3.zip appears to be unused - removing
➤ YN0019: │ isstream-npm-0.1.2-8581c75385-8e6e5c4cf1.zip appears to be unused - removing
➤ YN0019: │ jsbn-npm-0.1.1-0eb7132404-b530d48a64.zip appears to be unused - removing
➤ YN0019: │ json-schema-npm-0.2.3-018ee3dfc9-d382ea841f.zip appears to be unused - removing
➤ YN0019: │ json-schema-traverse-npm-0.4.1-4759091693-6f71bddba3.zip appears to be unused - removing
➤ YN0019: │ isstream-npm-0.1.2-8581c75385-8e6e5c4cf1.zip appears to be unused - removing
➤ YN0019: │ jsbn-npm-0.1.1-0eb7132404-b530d48a64.zip appears to be unused - removing
➤ YN0019: │ json-schema-npm-0.2.3-018ee3dfc9-d382ea841f.zip appears to be unused - removing
➤ YN0019: │ json-schema-traverse-npm-0.4.1-4759091693-6f71bddba3.zip appears to be unused - removing
➤ YN0019: │ json-stringify-safe-npm-5.0.1-064ddd6ab4-261dfb8eb3.zip appears to be unused - removing
➤ YN0019: │ jsbn-npm-0.1.1-0eb7132404-b530d48a64.zip appears to be unused - removing
➤ YN0019: │ json-schema-npm-0.2.3-018ee3dfc9-d382ea841f.zip appears to be unused - removing
➤ YN0019: │ json-schema-traverse-npm-0.4.1-4759091693-6f71bddba3.zip appears to be unused - removing
➤ YN0019: │ json-stringify-safe-npm-5.0.1-064ddd6ab4-261dfb8eb3.zip appears to be unused - removing
➤ YN0019: │ jsprim-npm-1.4.1-948d2c9ec3-ee0177b7ef.zip appears to be unused - removing
➤ YN0019: │ json-schema-npm-0.2.3-018ee3dfc9-d382ea841f.zip appears to be unused - removing
➤ YN0019: │ json-schema-traverse-npm-0.4.1-4759091693-6f71bddba3.zip appears to be unused - removing
➤ YN0019: │ json-stringify-safe-npm-5.0.1-064ddd6ab4-261dfb8eb3.zip appears to be unused - removing
➤ YN0019: │ jsprim-npm-1.4.1-948d2c9ec3-ee0177b7ef.zip appears to be unused - removing
➤ YN0019: │ micromatch-npm-4.0.2-f059c00e51-0cb0e11d64.zip appears to be unused - removing
➤ YN0019: │ json-schema-traverse-npm-0.4.1-4759091693-6f71bddba3.zip appears to be unused - removing
➤ YN0019: │ json-stringify-safe-npm-5.0.1-064ddd6ab4-261dfb8eb3.zip appears to be unused - removing
➤ YN0019: │ jsprim-npm-1.4.1-948d2c9ec3-ee0177b7ef.zip appears to be unused - removing
➤ YN0019: │ micromatch-npm-4.0.2-f059c00e51-0cb0e11d64.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.46.0-46f8800b47-4e137ac502.zip appears to be unused - removing
➤ YN0019: │ json-stringify-safe-npm-5.0.1-064ddd6ab4-261dfb8eb3.zip appears to be unused - removing
➤ YN0019: │ jsprim-npm-1.4.1-948d2c9ec3-ee0177b7ef.zip appears to be unused - removing
➤ YN0019: │ micromatch-npm-4.0.2-f059c00e51-0cb0e11d64.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.46.0-46f8800b47-4e137ac502.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.47.0-a85d74ef62-f5f9220dd5.zip appears to be unused - removing
➤ YN0019: │ jsprim-npm-1.4.1-948d2c9ec3-ee0177b7ef.zip appears to be unused - removing
➤ YN0019: │ micromatch-npm-4.0.2-f059c00e51-0cb0e11d64.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.46.0-46f8800b47-4e137ac502.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.47.0-a85d74ef62-f5f9220dd5.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.29-18d18d60ed-744d72b2a2.zip appears to be unused - removing
➤ YN0019: │ micromatch-npm-4.0.2-f059c00e51-0cb0e11d64.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.46.0-46f8800b47-4e137ac502.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.47.0-a85d74ef62-f5f9220dd5.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.29-18d18d60ed-744d72b2a2.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.30-500b101efd-c7ca8a9980.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.46.0-46f8800b47-4e137ac502.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.47.0-a85d74ef62-f5f9220dd5.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.29-18d18d60ed-744d72b2a2.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.30-500b101efd-c7ca8a9980.zip appears to be unused - removing
➤ YN0019: │ mocha-npm-8.3.0-e431a3badf-cbb407deec.zip appears to be unused - removing
➤ YN0019: │ mime-db-npm-1.47.0-a85d74ef62-f5f9220dd5.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.29-18d18d60ed-744d72b2a2.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.30-500b101efd-c7ca8a9980.zip appears to be unused - removing
➤ YN0019: │ mocha-npm-8.3.0-e431a3badf-cbb407deec.zip appears to be unused - removing
➤ YN0019: │ node-gyp-npm-7.1.2-002c5798eb-fca9ecb1be.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.29-18d18d60ed-744d72b2a2.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.30-500b101efd-c7ca8a9980.zip appears to be unused - removing
➤ YN0019: │ mocha-npm-8.3.0-e431a3badf-cbb407deec.zip appears to be unused - removing
➤ YN0019: │ node-gyp-npm-7.1.2-002c5798eb-fca9ecb1be.zip appears to be unused - removing
➤ YN0019: │ oauth-sign-npm-0.9.0-7aa9422221-af1ab60297.zip appears to be unused - removing
➤ YN0019: │ mime-types-npm-2.1.30-500b101efd-c7ca8a9980.zip appears to be unused - removing
➤ YN0019: │ mocha-npm-8.3.0-e431a3badf-cbb407deec.zip appears to be unused - removing
➤ YN0019: │ node-gyp-npm-7.1.2-002c5798eb-fca9ecb1be.zip appears to be unused - removing
➤ YN0019: │ oauth-sign-npm-0.9.0-7aa9422221-af1ab60297.zip appears to be unused - removing
➤ YN0019: │ performance-now-npm-2.1.0-45e3ce7e49-bb4ebed0b0.zip appears to be unused - removing
➤ YN0019: │ mocha-npm-8.3.0-e431a3badf-cbb407deec.zip appears to be unused - removing
➤ YN0019: │ node-gyp-npm-7.1.2-002c5798eb-fca9ecb1be.zip appears to be unused - removing
➤ YN0019: │ oauth-sign-npm-0.9.0-7aa9422221-af1ab60297.zip appears to be unused - removing
➤ YN0019: │ performance-now-npm-2.1.0-45e3ce7e49-bb4ebed0b0.zip appears to be unused - removing
➤ YN0019: │ picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip appears to be unused - removing
➤ YN0019: │ node-gyp-npm-7.1.2-002c5798eb-fca9ecb1be.zip appears to be unused - removing
➤ YN0019: │ oauth-sign-npm-0.9.0-7aa9422221-af1ab60297.zip appears to be unused - removing
➤ YN0019: │ performance-now-npm-2.1.0-45e3ce7e49-bb4ebed0b0.zip appears to be unused - removing
➤ YN0019: │ picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip appears to be unused - removing
➤ YN0019: │ proxy-addr-npm-2.0.6-8fafed6ca5-a7dcfd7025.zip appears to be unused - removing
➤ YN0019: │ oauth-sign-npm-0.9.0-7aa9422221-af1ab60297.zip appears to be unused - removing
➤ YN0019: │ performance-now-npm-2.1.0-45e3ce7e49-bb4ebed0b0.zip appears to be unused - removing
➤ YN0019: │ picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip appears to be unused - removing
➤ YN0019: │ proxy-addr-npm-2.0.6-8fafed6ca5-a7dcfd7025.zip appears to be unused - removing
➤ YN0019: │ psl-npm-1.8.0-226099d70e-92d47c6257.zip appears to be unused - removing
➤ YN0019: │ performance-now-npm-2.1.0-45e3ce7e49-bb4ebed0b0.zip appears to be unused - removing
➤ YN0019: │ picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip appears to be unused - removing
➤ YN0019: │ proxy-addr-npm-2.0.6-8fafed6ca5-a7dcfd7025.zip appears to be unused - removing
➤ YN0019: │ psl-npm-1.8.0-226099d70e-92d47c6257.zip appears to be unused - removing
➤ YN0019: │ punycode-npm-2.1.1-26eb3e15cf-0202dc191c.zip appears to be unused - removing
➤ YN0019: │ picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip appears to be unused - removing
➤ YN0019: │ proxy-addr-npm-2.0.6-8fafed6ca5-a7dcfd7025.zip appears to be unused - removing
➤ YN0019: │ psl-npm-1.8.0-226099d70e-92d47c6257.zip appears to be unused - removing
➤ YN0019: │ punycode-npm-2.1.1-26eb3e15cf-0202dc191c.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.5.2-dbf9d8386b-fa0410eff2.zip appears to be unused - removing
➤ YN0019: │ proxy-addr-npm-2.0.6-8fafed6ca5-a7dcfd7025.zip appears to be unused - removing
➤ YN0019: │ psl-npm-1.8.0-226099d70e-92d47c6257.zip appears to be unused - removing
➤ YN0019: │ punycode-npm-2.1.1-26eb3e15cf-0202dc191c.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.5.2-dbf9d8386b-fa0410eff2.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.9.6-fee5de1427-853715ab6d.zip appears to be unused - removing
➤ YN0019: │ psl-npm-1.8.0-226099d70e-92d47c6257.zip appears to be unused - removing
➤ YN0019: │ punycode-npm-2.1.1-26eb3e15cf-0202dc191c.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.5.2-dbf9d8386b-fa0410eff2.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.9.6-fee5de1427-853715ab6d.zip appears to be unused - removing
➤ YN0019: │ queue-microtask-npm-1.2.2-d942879a5d-563abf1b1d.zip appears to be unused - removing
➤ YN0019: │ punycode-npm-2.1.1-26eb3e15cf-0202dc191c.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.5.2-dbf9d8386b-fa0410eff2.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.9.6-fee5de1427-853715ab6d.zip appears to be unused - removing
➤ YN0019: │ queue-microtask-npm-1.2.2-d942879a5d-563abf1b1d.zip appears to be unused - removing
➤ YN0019: │ redspot-file-f446756078-78567ab264.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.5.2-dbf9d8386b-fa0410eff2.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.9.6-fee5de1427-853715ab6d.zip appears to be unused - removing
➤ YN0019: │ queue-microtask-npm-1.2.2-d942879a5d-563abf1b1d.zip appears to be unused - removing
➤ YN0019: │ redspot-file-f446756078-78567ab264.zip appears to be unused - removing
➤ YN0019: │ regenerator-runtime-npm-0.13.7-41bcbe64ea-6ef567c662.zip appears to be unused - removing
➤ YN0019: │ qs-npm-6.9.6-fee5de1427-853715ab6d.zip appears to be unused - removing
➤ YN0019: │ queue-microtask-npm-1.2.2-d942879a5d-563abf1b1d.zip appears to be unused - removing
➤ YN0019: │ redspot-file-f446756078-78567ab264.zip appears to be unused - removing
➤ YN0019: │ regenerator-runtime-npm-0.13.7-41bcbe64ea-6ef567c662.zip appears to be unused - removing
➤ YN0019: │ request-npm-2.88.2-f4a57c72c4-7a74841f30.zip appears to be unused - removing
➤ YN0019: │ queue-microtask-npm-1.2.2-d942879a5d-563abf1b1d.zip appears to be unused - removing
➤ YN0019: │ redspot-file-f446756078-78567ab264.zip appears to be unused - removing
➤ YN0019: │ regenerator-runtime-npm-0.13.7-41bcbe64ea-6ef567c662.zip appears to be unused - removing
➤ YN0019: │ request-npm-2.88.2-f4a57c72c4-7a74841f30.zip appears to be unused - removing
➤ YN0019: │ semver-npm-7.3.4-4c3baf0ead-f2c7f9aeb9.zip appears to be unused - removing
➤ YN0019: │ redspot-file-f446756078-78567ab264.zip appears to be unused - removing
➤ YN0019: │ regenerator-runtime-npm-0.13.7-41bcbe64ea-6ef567c662.zip appears to be unused - removing
➤ YN0019: │ request-npm-2.88.2-f4a57c72c4-7a74841f30.zip appears to be unused - removing
➤ YN0019: │ semver-npm-7.3.4-4c3baf0ead-f2c7f9aeb9.zip appears to be unused - removing
➤ YN0019: │ sshpk-npm-1.16.1-feb759e7e0-4bd7422634.zip appears to be unused - removing
➤ YN0019: │ regenerator-runtime-npm-0.13.7-41bcbe64ea-6ef567c662.zip appears to be unused - removing
➤ YN0019: │ request-npm-2.88.2-f4a57c72c4-7a74841f30.zip appears to be unused - removing
➤ YN0019: │ semver-npm-7.3.4-4c3baf0ead-f2c7f9aeb9.zip appears to be unused - removing
➤ YN0019: │ sshpk-npm-1.16.1-feb759e7e0-4bd7422634.zip appears to be unused - removing
➤ YN0019: │ string-width-npm-4.2.0-c4a2a66200-cf1e8acddf.zip appears to be unused - removing
➤ YN0019: │ request-npm-2.88.2-f4a57c72c4-7a74841f30.zip appears to be unused - removing
➤ YN0019: │ semver-npm-7.3.4-4c3baf0ead-f2c7f9aeb9.zip appears to be unused - removing
➤ YN0019: │ sshpk-npm-1.16.1-feb759e7e0-4bd7422634.zip appears to be unused - removing
➤ YN0019: │ string-width-npm-4.2.0-c4a2a66200-cf1e8acddf.zip appears to be unused - removing
➤ YN0019: │ tough-cookie-npm-2.5.0-79a2fe43fe-bf5d6fac5c.zip appears to be unused - removing
➤ YN0019: │ semver-npm-7.3.4-4c3baf0ead-f2c7f9aeb9.zip appears to be unused - removing
➤ YN0019: │ sshpk-npm-1.16.1-feb759e7e0-4bd7422634.zip appears to be unused - removing
➤ YN0019: │ string-width-npm-4.2.0-c4a2a66200-cf1e8acddf.zip appears to be unused - removing
➤ YN0019: │ tough-cookie-npm-2.5.0-79a2fe43fe-bf5d6fac5c.zip appears to be unused - removing
➤ YN0019: │ tunnel-agent-npm-0.6.0-64345ab7eb-03db75a4f9.zip appears to be unused - removing
➤ YN0019: │ sshpk-npm-1.16.1-feb759e7e0-4bd7422634.zip appears to be unused - removing
➤ YN0019: │ string-width-npm-4.2.0-c4a2a66200-cf1e8acddf.zip appears to be unused - removing
➤ YN0019: │ tough-cookie-npm-2.5.0-79a2fe43fe-bf5d6fac5c.zip appears to be unused - removing
➤ YN0019: │ tunnel-agent-npm-0.6.0-64345ab7eb-03db75a4f9.zip appears to be unused - removing
➤ YN0019: │ tweetnacl-npm-0.14.5-a3f766c0d1-e1c9d52e2e.zip appears to be unused - removing
➤ YN0019: │ string-width-npm-4.2.0-c4a2a66200-cf1e8acddf.zip appears to be unused - removing
➤ YN0019: │ tough-cookie-npm-2.5.0-79a2fe43fe-bf5d6fac5c.zip appears to be unused - removing
➤ YN0019: │ tunnel-agent-npm-0.6.0-64345ab7eb-03db75a4f9.zip appears to be unused - removing
➤ YN0019: │ tweetnacl-npm-0.14.5-a3f766c0d1-e1c9d52e2e.zip appears to be unused - removing
➤ YN0019: │ type-npm-2.3.0-009b896d24-e4976037e7.zip appears to be unused - removing
➤ YN0019: │ tough-cookie-npm-2.5.0-79a2fe43fe-bf5d6fac5c.zip appears to be unused - removing
➤ YN0019: │ tunnel-agent-npm-0.6.0-64345ab7eb-03db75a4f9.zip appears to be unused - removing
➤ YN0019: │ tweetnacl-npm-0.14.5-a3f766c0d1-e1c9d52e2e.zip appears to be unused - removing
➤ YN0019: │ type-npm-2.3.0-009b896d24-e4976037e7.zip appears to be unused - removing
➤ YN0019: │ uri-js-npm-4.4.1-66d11cbcaf-7d8ae8e2d7.zip appears to be unused - removing
➤ YN0019: │ tunnel-agent-npm-0.6.0-64345ab7eb-03db75a4f9.zip appears to be unused - removing
➤ YN0019: │ tweetnacl-npm-0.14.5-a3f766c0d1-e1c9d52e2e.zip appears to be unused - removing
➤ YN0019: │ type-npm-2.3.0-009b896d24-e4976037e7.zip appears to be unused - removing
➤ YN0019: │ uri-js-npm-4.4.1-66d11cbcaf-7d8ae8e2d7.zip appears to be unused - removing
➤ YN0019: │ utf-8-validate-npm-5.0.4-29bc22db06-14dc9e6af0.zip appears to be unused - removing
➤ YN0019: │ tweetnacl-npm-0.14.5-a3f766c0d1-e1c9d52e2e.zip appears to be unused - removing
➤ YN0019: │ type-npm-2.3.0-009b896d24-e4976037e7.zip appears to be unused - removing
➤ YN0019: │ uri-js-npm-4.4.1-66d11cbcaf-7d8ae8e2d7.zip appears to be unused - removing
➤ YN0019: │ utf-8-validate-npm-5.0.4-29bc22db06-14dc9e6af0.zip appears to be unused - removing
➤ YN0019: │ uuid-npm-3.4.0-4fd8ef88ad-1ce3f37e21.zip appears to be unused - removing
➤ YN0019: │ type-npm-2.3.0-009b896d24-e4976037e7.zip appears to be unused - removing
➤ YN0019: │ uri-js-npm-4.4.1-66d11cbcaf-7d8ae8e2d7.zip appears to be unused - removing
➤ YN0019: │ utf-8-validate-npm-5.0.4-29bc22db06-14dc9e6af0.zip appears to be unused - removing
➤ YN0019: │ uuid-npm-3.4.0-4fd8ef88ad-1ce3f37e21.zip appears to be unused - removing
➤ YN0019: │ verror-npm-1.10.0-c3f839c579-38ea80312c.zip appears to be unused - removing
➤ YN0019: │ uri-js-npm-4.4.1-66d11cbcaf-7d8ae8e2d7.zip appears to be unused - removing
➤ YN0019: │ utf-8-validate-npm-5.0.4-29bc22db06-14dc9e6af0.zip appears to be unused - removing
➤ YN0019: │ uuid-npm-3.4.0-4fd8ef88ad-1ce3f37e21.zip appears to be unused - removing
➤ YN0019: │ verror-npm-1.10.0-c3f839c579-38ea80312c.zip appears to be unused - removing
➤ YN0019: │ y18n-npm-5.0.5-1fa41a2023-a7d41b0ccc.zip appears to be unused - removing
➤ YN0019: │ utf-8-validate-npm-5.0.4-29bc22db06-14dc9e6af0.zip appears to be unused - removing
➤ YN0019: │ uuid-npm-3.4.0-4fd8ef88ad-1ce3f37e21.zip appears to be unused - removing
➤ YN0019: │ verror-npm-1.10.0-c3f839c579-38ea80312c.zip appears to be unused - removing
➤ YN0019: │ y18n-npm-5.0.5-1fa41a2023-a7d41b0ccc.zip appears to be unused - removing
➤ YN0019: │ yargs-parser-npm-20.2.5-cc6ec6e915-4b558eb7d4.zip appears to be unused - removing
➤ YN0000: └ Completed in 1s 924ms
➤ YN0000: ┌ Link step
➤ YN0007: │ deasync@npm:0.1.21 must be built because it never did before or the last one failed
➤ YN0008: │ bufferutil@npm:4.0.3 must be rebuilt because its dependency tree changed
➤ YN0007: │ utf-8-validate@npm:5.0.5 must be built because it never did before or the last one failed
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-487f05b1/build.log)
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-487f05b1/build.log)
➤ YN0009: │ bufferutil@npm:4.0.3 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-a6e64784/build.log)
➤ YN0009: │ bufferutil@npm:4.0.3 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-a6e64784/build.log)
➤ YN0009: │ utf-8-validate@npm:5.0.5 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-38de55ad/build.log)
➤ YN0009: │ utf-8-validate@npm:5.0.5 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-38de55ad/build.log)
➤ YN0000: └ Completed in 1s 139ms
➤ YN0000: Failed with errors in 12s 189ms
kentarovadney@Kentaros-MacBook-Air plasm % yarn
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @polkadot/api-derive@npm:4.11.2 provides @polkadot/util (p9fa9c) with version 6.5.1, which doesn't satisfy what @polkadot/util-crypto and some of its descendants request
➤ YN0060: │ @polkadot/api@npm:4.11.2 provides @polkadot/util (pd1b6d) with version 6.5.1, which doesn't satisfy what @polkadot/util-crypto and some of its descendants request
➤ YN0060: │ @polkadot/api@npm:4.11.2 provides @polkadot/util (p3bd89) with version 6.5.1, which doesn't satisfy what @polkadot/keyring requests
➤ YN0060: │ @polkadot/metadata@npm:4.11.2 provides @polkadot/util (pb64d3) with version 6.5.1, which doesn't satisfy what @polkadot/util-crypto and some of its descendants request
➤ YN0060: │ @polkadot/rpc-provider@npm:4.11.2 provides @polkadot/util (pd26a2) with version 6.5.1, which doesn't satisfy what @polkadot/util-crypto and some of its descendants request
➤ YN0060: │ @polkadot/types@npm:4.11.2 provides @polkadot/util (pdc92b) with version 6.5.1, which doesn't satisfy what @polkadot/util-crypto and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed in 2s 348ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0007: │ deasync@npm:0.1.21 must be built because it never did before or the last one failed
➤ YN0007: │ bufferutil@npm:4.0.3 must be built because it never did before or the last one failed
➤ YN0007: │ utf-8-validate@npm:5.0.5 must be built because it never did before or the last one failed
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-5db16ebf/build.log)
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-5db16ebf/build.log)
➤ YN0009: │ bufferutil@npm:4.0.3 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-6762992f/build.log)
➤ YN0009: │ bufferutil@npm:4.0.3 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-6762992f/build.log)
➤ YN0009: │ utf-8-validate@npm:5.0.5 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-8fa1d36b/build.log)
➤ YN0009: │ utf-8-validate@npm:5.0.5 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/xfs-8fa1d36b/build.log)
➤ YN0000: └ Completed in 0s 377ms
➤ YN0000: Failed with errors in 2s 941ms
kentarovadney@Kentaros-MacBook-Air plasm %

I'm running locally on this network: https://github.com/PlasmNetwork/Plasm/releases/tag/v1.9.0-dusty
and start it like this: ./plasm --dev --ws-external --rpc-external --tmp --rpc-cors all
Then run this repository: https://github.com/ii-ii-ii/tutorials/tree/redspot-example/erc20
Then, after installing the dependencies, run npx redspot run ./scripts/deploy.ts

Hmm I just cloned your repo and did the same, but I can only connect my dusty account with plasm --network dusty but then I still get the instantiation failure above... very confusing...

You don't use your own account and follow my steps. Can you deploy it successfully?

Yeah I used the oak ... mnemonic with the PLD loaded and I still get the same result as here: #117 (comment)

If you don't use your own address, but use local network and the default test address, does it work correctly? We need to confirm if it is a problem with your address and the network you are using.

I tried re-starting from the new erc20 starter you uploaded and copied over the configuration for dusty network in this branch. I did

  1. plasm --dev --ws-external --rpc-external --tmp --rpc-cors all to run the local node at ws://127.0.0.1:9944
  2. npx redspot run ./scripts/deploy.ts --network dusty

but I get this error. Does this mean the deployed contract doesn't have enough endowment? how do I increase endowment?

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --network dusty
✔️ No file changes checked, skip compilation
Balance: {
nonce: '1',
consumers: '1',
providers: '1',
data: {
free: '999.9996 BUnit',
reserved: '0',
miscFrozen: '0',
feeFrozen: '0'
}
}

ERROR contracts.NewContractNotFunded( The newly created contract is below the subsistence threshold after executing its contructor. No contracts are allowed to exist below that threshold.)

RedspotPluginError: Instantiation failed
at /Users/kentarovadney/Desktop/code/erc20/node_modules/@redspot/patract/contractFactory.js:189:23
at ContractFactory.instantiateWithCode (/Users/kentarovadney/Desktop/code/erc20/node_modules/@redspot/patract/contractFactory.js:185:28)
at ContractFactory.deploy (/Users/kentarovadney/Desktop/code/erc20/node_modules/@redspot/patract/contractFactory.js:234:31)
^C

Also having no --network flag doesn't work either:

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts
✔️ No file changes checked, skip compilation
2021-06-14 09:23:06 REGISTRY: Unable to resolve type SmartContract, it will fail on construction
2021-06-14 09:23:06 METADATA: Unknown types found, no types for SmartContract
2021-06-14 09:23:06 API/INIT: Error: FATAL: Unable to initialize the API: createType(SmartContract):: Cannot construct unknown type SmartContract
at EventEmitter.value (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/api/base/Init.cjs:88:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2021-06-14 09:23:06 API/INIT: Error: createType(SmartContract):: Cannot construct unknown type SmartContract
at createTypeUnsafe (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/types/create/createType.cjs:55:11)
at createType (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/types/create/createType.cjs:67:10)
at TypeRegistry.createType (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/types/create/registry.cjs:308:39)
at extendHeadMeta (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:97:53)
at extendPrefixedMap (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:120:23)
at createFunction (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/metadata/decorate/storage/createFunction.cjs:156:5)
at /Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/metadata/decorate/storage/index.cjs:41:91
at Array.reduce ()
at /Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/metadata/decorate/storage/index.cjs:39:39
at Array.reduce ()

/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/api/base/Init.cjs:88
const error = new Error(FATAL: Unable to initialize the API: ${_error.message});
^
Error: FATAL: Unable to initialize the API: createType(SmartContract):: Cannot construct unknown type SmartContract
at EventEmitter.value (/Users/kentarovadney/Desktop/code/erc20/node_modules/@polkadot/api/base/Init.cjs:88:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
kentarovadney@Kentaros-MacBook-Air erc20 %

I tried to stay in the original file and on this branch and must use the alice account and did this:

  1. plasm --dev --ws-external --rpc-external --tmp --rpc-cors all to run the local node at ws://127.0.0.1:9944
  2. npx redspot run ./scripts/deploy.ts --network dusty

but I got this error so I tried out the branch above:

kentarovadney@Kentaros-MacBook-Air erc20 % npx redspot run ./scripts/deploy.ts --network dusty
Ink: 1 matches 09:26:26

===== Compile erc20 =====

[1/5] Building cargo project
Updating crates.io index
Updating git repository https://github.com/paritytech/ink
Finished release [optimized] target(s) in 1.45s
[2/5] Post processing wasm file
[3/5] Optimizing wasm file
[4/5] Generating metadata
Updating git repository https://github.com/paritytech/ink
Updating crates.io index
Compiling metadata-gen v0.1.0 (/var/folders/r_/74rntmcx51zgp8k_z7xncyq00000gn/T/cargo-contract_T0xo26/.ink/metadata_gen)
Finished release [optimized] target(s) in 1.09s
Running target/ink/release/metadata-gen
[5/5] Generating bundle

Original wasm size: 54.2K, Optimized: 32.7K

Your contract artifacts are ready. You can find them in:
/Users/kentarovadney/Desktop/code/tutorials/erc20/contracts/target/ink

  • erc20.contract (code + metadata)
  • erc20.wasm (the contract's code)
  • metadata.json (the contract's metadata)

🎉 Compile successfully! You can find all artifacts at /Users/kentarovadney/Desktop/code/tutorials/erc20/artifacts
Balance: {
nonce: '4',
consumers: '1',
providers: '1',
data: {
free: '999.9987 BUnit',
reserved: '0',
miscFrozen: '0',
feeFrozen: '0'
}
}
TypeError: Cannot read property 'publicKey' of undefined
at ContractFactory.getContractAddress (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:276:59)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ContractFactory.deployed (/Users/kentarovadney/Desktop/code/tutorials/erc20/node_modules/@redspot/patract/contractFactory.js:250:33)
at run (/Users/kentarovadney/Desktop/code/tutorials/erc20/scripts/deploy.ts:17:20)

ERROR contracts.NewContractNotFunded( The newly created contract is below the subsistence threshold after executing its contructor. No contracts are allowed to exist below that threshold.) This error is because the value of endowment is too small.

The second error is because your dependency has not been upgraded. https://github.com/PlasmNetwork/tutorials/blob/redspot-alice/erc20/package.json

It is best to copy my code in its entirety. https://github.com/ii-ii-ii/tutorials/blob/redspot-example/erc20/package.json

  1. how do I endow a value to the smart contract I am deploying via the redspot api?
  2. I also cloned and tried your repo here but the dusty types are not defined so I copied over the definitions you made previously.

dusty: { endpoint: "ws://127.0.0.1:9944", gasLimit: "400000000000", accounts: ["//Alice"], types: { AccountInfo: "AccountInfoWithProviders", AuthorityId: "AccountId", AuthorityVote: "u32", ChallengeGameOf: { challenges: "Vec<Hash>", createdBlock: "BlockNumber", decision: "Decision", propertyHash: "Hash", }, Claim: { amount: "u128", approve: "BTreeSet<AuthorityId>", complete: "bool", decline: "BTreeSet<AuthorityId>", params: "Lockdrop", }, ClaimId: "H256", ClaimVote: { approve: "bool", authority: "u16", claim_id: "ClaimId", }, Decision: { _enum: ["Undecided", "True", "False"], }, DollarRate: "u128", EraIndex: "u32", EraStakingPoints: { individual: "BTreeMap<AccountId, Balance>", total: "Balance", }, Keys: "SessionKeys3", Lockdrop: { duration: "u64", public_key: "[u8; 33]", transaction_hash: "H256", type: "u8", value: "u128", }, Parameters: { canBeNominated: "bool", optionExpired: "u128", optionP: "u32", }, PredicateContractOf: { inputs: "Vec<u8>", predicateHash: "Hash", }, PredicateHash: "Hash", PrefabOvmModule: { code: "Vec<u8>", scheduleVersion: "u32", }, Property: { inputs: "Vec<Vec<u8>>", predicateAddress: "AccountId", }, PropertyOf: { inputs: "Vec<Vec<u8>>", predicateAddress: "AccountId", }, Schedule: { putCodePerByteCost: "Weight", version: "u32", }, SmartContract: { _enum: { Wasm: "AccountId", Evm: "H160", }, }, StakingParameters: { canBeNominated: "bool", optionExpired: "u128", optionP: "u32", }, TickerRate: { authority: "u16", btc: "u128", eth: "u128", }, VoteCounts: { bad: "u32", good: "u32", }, }, },

this seemed to work from the terminal:

Screen Shot 2021-06-20 at 4 44 49 PM

However when I try to look it up in the dusty network to interact with it, it does not work. Don't I need to deploy this on the non-dev version of the dusty node to be able to interact with it online since I am in the dev node? how do I interact with a smart contract on a dev node (i.e. call the function s on the smart contract) is it just deployed within the local dev node so anything that connects to the local dev node can call it?

Screen Shot 2021-06-20 at 4 45 00 PM

merged changes here I tried entering my account's suri to the accounts:[HERE!!!] but I get the error below saying I can't pay the fee. why is this happening? I have 200PLD which should be enough.

Screen Shot 2021-06-20 at 5 12 14 PM