@tact-lang/deployer
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@tact-lang/deployer", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Tact smart contract deployer", | ||
@@ -40,3 +40,2 @@ "files": [ | ||
"jest": "^29.4.3", | ||
"ton-core": ">=0.48.0", | ||
"ts-jest": "^29.0.5", | ||
@@ -64,2 +63,2 @@ "typescript": "^4.9.5", | ||
} | ||
} | ||
} |
# Tact Deployer | ||
A lib to prepare deployment of a tact package | ||
### Installation | ||
``` | ||
@@ -14,26 +16,12 @@ yarn add @tact-lang/deployer | ||
const pkg = fs.readFileSync('my.pkg') | ||
const data = fs.readFileSync('data.boc'); | ||
const pkg = fs.readFileSync("my.pkg"); | ||
const data = fs.readFileSync("data.boc"); | ||
const deploymentUrl = await prepareTactDeployment( | ||
pkg, | ||
data | ||
); | ||
const deploymentUrl = await prepareTactDeployment({ pkg, data }); | ||
console.log(deploymentUrl); | ||
// https://verifier.ton.org/tactDeployer/QmRwiQbwjZqNwwUhhZfaSnHUr4bkrGF6cRXARkuMbZaJVD | ||
console.log(deploymentUrl); // https://verifier.ton.org/tactDeployer/QmRwiQbwjZqNwwUhhZfaSnHUr4bkrGF6cRXARkuMbZaJVD | ||
``` | ||
## 👀 Demo | ||
1. Clone this repo | ||
2. Run `yarn` | ||
3. Run `yarn build` | ||
4. Run `yarn link` | ||
## License | ||
### Node.js | ||
1. Navigate to `example` | ||
3. Run `yarn link "@tact-lang/deployer"` | ||
4. Run `ts-node index.ts` | ||
## 📔 License | ||
MIT |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7
8123
9
27