Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement sendAndAwaitStatus subscription #3541

Merged
merged 40 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
6c3460a
chore: rebuild
danielbate Dec 24, 2024
b5acb11
chore: rebuild
danielbate Dec 24, 2024
7e26880
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts
danielbate Dec 31, 2024
73687a8
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts
danielbate Jan 2, 2025
f48e18a
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts
danielbate Jan 3, 2025
7f57a6f
feat: implement `sendTransactionAndAwaitStatus`
danielbate Jan 3, 2025
477fc29
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts into db…
danielbate Jan 3, 2025
a8da82e
chore: alter snippet region
danielbate Jan 3, 2025
4757f3d
chore: changeset
danielbate Jan 3, 2025
3508138
chore: add spellcheck work
danielbate Jan 3, 2025
fc50dbe
chore: add spellcheck work
danielbate Jan 3, 2025
1eed044
chore: changeset
danielbate Jan 3, 2025
3bcf18d
Update apps/docs/src/guide/transactions/snippets/transaction-subscrip…
nedsalk Jan 5, 2025
aec7ac6
Update apps/docs/src/guide/transactions/snippets/transaction-subscrip…
nedsalk Jan 5, 2025
f071453
Update apps/docs/src/guide/transactions/transaction-subscriptions.md
nedsalk Jan 5, 2025
7e314dd
Update apps/docs/src/guide/transactions/transaction-subscriptions.md
nedsalk Jan 5, 2025
3645327
Update packages/account/src/providers/provider.ts
nedsalk Jan 5, 2025
465104b
Merge branch 'master' of https://github.com/FuelLabs/fuels-ts into db…
danielbate Jan 6, 2025
e8855c1
docs: improvement
danielbate Jan 6, 2025
c4a798c
test: remove node args
danielbate Jan 6, 2025
f825d44
Merge branch 'db/feat/send-and-await-status' of https://github.com/Fu…
danielbate Jan 6, 2025
f907073
feat: use waitForResult
danielbate Jan 6, 2025
68916ef
chore: remove test on;y
danielbate Jan 6, 2025
010bd52
docs: update docs and tests
danielbate Jan 6, 2025
298961d
chore: update spellcheck
danielbate Jan 6, 2025
3563a56
chore: lint
danielbate Jan 6, 2025
52079ba
chore: rebuild
danielbate Jan 6, 2025
189c5d9
chore: remove redundant method
danielbate Jan 6, 2025
fc5ce61
chore: code style
danielbate Jan 6, 2025
3be2a71
chore: update docs
danielbate Jan 6, 2025
de4976c
Merge branch 'db/feat/send-and-await-status' of https://github.com/Fu…
danielbate Jan 6, 2025
1a580ec
Revert "chore: code style"
danielbate Jan 6, 2025
b6b3605
Merge branch 'master' into db/feat/send-and-await-status
nedsalk Jan 6, 2025
cf73555
chore: cleaner doc
danielbate Jan 6, 2025
e3818d9
Merge branch 'master' into db/feat/send-and-await-status
arboleya Jan 6, 2025
480832b
chor: update test
danielbate Jan 7, 2025
34998ae
chore: update and fix tests
danielbate Jan 7, 2025
2746e32
chore: lint
danielbate Jan 7, 2025
1ca8047
Merge branch 'master' into db/feat/send-and-await-status
nedsalk Jan 7, 2025
23cfe43
Merge branch 'master' into db/feat/send-and-await-status
petertonysmith94 Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: alter snippet region
  • Loading branch information
danielbate committed Jan 3, 2025
commit a8da82eb78528c7c4f9168cb99537fcfe1ba349c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// #region main
import { Provider, Wallet } from 'fuels';

import { LOCAL_NETWORK_URL, WALLET_PVT_KEY } from '../../../../env';
Expand All @@ -7,10 +6,10 @@ import { CounterFactory } from '../../../../typegend';
const provider = await Provider.create(LOCAL_NETWORK_URL);
const wallet = Wallet.fromPrivateKey(WALLET_PVT_KEY, provider);

// Deploy the contract
const deploy = await CounterFactory.deploy(wallet);
const { contract } = await deploy.waitForResult();

// #region main
// Create a new transaction request from a contract call
const txRequest = await contract.functions
.increment_count(1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// #region main
import { Provider, ScriptTransactionRequest, Wallet } from 'fuels';

import { LOCAL_NETWORK_URL, WALLET_PVT_KEY } from '../../../../env';
Expand All @@ -7,6 +6,7 @@ const provider = await Provider.create(LOCAL_NETWORK_URL);
const wallet = Wallet.fromPrivateKey(WALLET_PVT_KEY, provider);
const recipient = Wallet.generate();

// #region main
// Create a new transaction request
const txRequest = new ScriptTransactionRequest();
txRequest.addCoinOutput(recipient.address, 1_000, provider.getBaseAssetId());
Expand Down
Loading