3rdweb-sdk 中文文档教程
thirdweb-sdk
NOTE: this is a fork of thirdweb-sdk
Docs
https://docs.thirdweb.com
Api Reference
https://nftlabs.github.io/nftlabs-sdk-ts/sdk.html
Testing
测试需要运行 hardhat 节点。 可以通过在 hardhat 项目中运行 npx hardhat node
来启动。 可以使用 npx hardhat init -y
初始化 hardhat 项目。
Running all tests
$ yarn run test:all
Running a specific test file
$ yarn run test test/pack.test.ts
Running a matching set of tests
$ yarn run test test/pack.test.ts --grep "should allow you to buy a pack"
thirdweb-sdk
NOTE: this is a fork of thirdweb-sdk
Docs
https://docs.thirdweb.com
Api Reference
https://nftlabs.github.io/nftlabs-sdk-ts/sdk.html
Testing
Tests require a hardhat node to be running. One can be started by running npx hardhat node
in a hardhat project. A hardhat project can be initialized using npx hardhat init -y
.
Running all tests
$ yarn run test:all
Running a specific test file
$ yarn run test test/pack.test.ts
Running a matching set of tests
$ yarn run test test/pack.test.ts --grep "should allow you to buy a pack"