Skip to content

Commit

Permalink
Fix default flag for GiverWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
30mb1 committed Jul 15, 2022
1 parent 2946209 commit feb286a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const config: LockliftConfig = {
// This giver is default local-node giverV2
giver: {
// Check if you need provide custom giver
giverFactory: (ever, keyPair, address) => new Giver(ever, keyPair, address),
giverFactory: (ever, keyPair, address) => new SimpleGiver(ever, keyPair, address),
address: "0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415",
key: "172af540e43a524763dd53b26a066d472a97c4de37d5498170564510608250c3",
},
Expand All @@ -139,7 +139,7 @@ const config: LockliftConfig = {
address: "0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415",
// you can use bip39 phrase instead of key
phrase: "action inject penalty envelope rabbit element slim tornado dinner pizza off blood",
account_id: 0,
accountId: 0,
},
keys: {
// Use everdev to generate your phrase
Expand All @@ -160,8 +160,10 @@ const config: LockliftConfig = {

This command uses the specified TON Solidity compiler and TVM linker to build all project contracts.

```bash
npx locklift build
```
```
$ npx locklift build
Found 1 sources
Building contracts/Sample.sol
Compiled contracts/Sample.sol
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "locklift",
"version": "2.1.2",
"version": "2.1.3",
"description": "Node JS framework for working with Ever contracts. Inspired by Truffle and Hardhat. Helps you to build, test, run and maintain your smart contracts.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
2 changes: 1 addition & 1 deletion sample-project-typescript/giverSettings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class GiverWallet implements Giver {
value: value,
dest: sendTo,
bounce: false,
flags: 1,
flags: 3,
payload: "",
})
.sendExternal({ publicKey: this.keyPair.publicKey });
Expand Down

0 comments on commit feb286a

Please sign in to comment.