I’m sorry that you are still having issues.
The following are my installation steps using the following versions:
$ node --version
$ npm --version
$ oz --version
$ mkdir starter && cd starter
Unpack GSN Starter Kit
$ openzeppelin unpack OpenZeppelin/starter-kit-gsn
✓ Kit downloaded and unpacked
The kit is ready to use.
Run your local blockchain:
> ganache-cli --deterministic
Initialize the OpenZeppelin SDK project:
> openzeppelin init app
Go to the client directory:
> cd client
Run the React app:
> npm run start
Continue in your browser!
More at https://github.com/OpenZeppelin/starter-kit-gsn
$ oz init starter
? Initial project version 1.0.2
Project initialized. Write a new contract in the contracts folder and run 'openzeppelin create' to deploy it.
Deploy Counter contract
$ oz create
✓ Compiling contracts with Truffle, using settings from truffle.js file
Compiling your contracts...
> Compiling ./contracts/Counter.sol
> Compiling @openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol
> Compiling @openzeppelin/contracts-ethereum-package/contracts/GSN/GSNRecipient.sol
> Compiling @openzeppelin/contracts-ethereum-package/contracts/GSN/IRelayHub.sol
> Compiling @openzeppelin/contracts-ethereum-package/contracts/GSN/IRelayRecipient.sol
> Compiling @openzeppelin/upgrades/contracts/Initializable.sol
> Artifacts written to /c/Users/andre/Documents/projects/forum/starter/build/contracts
> Compiled successfully using:
- solc: 0.5.12+commit.7709ece9.Emscripten.clang
? Pick a contract to instantiate Counter
? Pick a network development
✓ Added contract Counter
✓ Contract Counter deployed
All contracts have been deployed
? Call a function to initialize the instance after creating it? Yes
? Select which function * initialize(num: uint256)
? num (uint256): 42
✓ Setting everything up to create contract instances
✓ Instance created at 0x630589690929E9cdEFDeF0734717a9eF3Ec7Fcfe
$ cd client
$ npm run start
The terminal shows one warning
Compiled with warnings.
Critical dependency: the request of a dependency is an expression
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
Fund recipient contract
I funded the recipient contract in a separate terminal
$ npx oz-gsn fund-recipient --recipient 0x630589690929E9cdEFDeF0734717a9eF3Ec7Fcfe
Recipient 0x630589690929E9cdEFDeF0734717a9eF3Ec7Fcfe balance is now 1000000000000000000 wei