Questions tagged [radix-dlt]

Radix DLT related questions

Radix can refer to a few different things, depending on context:

  • Radix as software: Radix can refer to the Radix Node software, Radix Desktop Wallet, and Radix Explorer.

  • Radix as a protocol: Radix can refer to the Radix Protocol, which is the set of rules that governs validator nodes running Radix Node software. The Radix Protocol is formed of the Radix Engine as its application layer and Cerberus as its consensus layer. It is the first layer 1 protocol specifically built to serve DeFi.

  • Radix as a network: The Radix Protocol running on validator nodes forms the basis of the Radix Public Network – a fully decentralized platform for DeFi dApps and users.

  • Radix as a ledger: The decentralized Radix Public Network maintains the public, immutable and permissionless Radix Ledger.

  • Radix as a project: Radix can refer to the decentralized project being undertaken by the Radix Community, core developer RDX Works, Radix Foundation, and Radix Tokens (Jersey).

  • Radix as an ecosystem: All of the above, including a decentralized community of users, developers, node-runners, and XRD token holders; dApps, partners, and ancillary services, forms the totality of the Radix ecosystem.

For more information see Radix DLT documentation.

7 questions
4
votes
1 answer

Scrypto Importing Structs from other folder

In Scrypto, I have folder structure like: src/ ├── lib.rs ├── script.rs ├── custom_types │ └── type.rs In type.rs, I have the following defined: use sbor::*; #[derive(TypeId, Encode, Decode, Describe)] pub struct Date { year: u8, day:…
M80
  • 191
  • 1
  • 14
1
vote
1 answer

Scrypto test: how to burn tokens in bucket as a function argument

I have a function for the admin to burn tokens in a bucket. pub fn burn_in_bucket(&mut self, mut bucket: Bucket) { assert!(bucket.resource_address() == self.token_vault.resource_address(), "input token invalid"); let…
Russo
  • 2,186
  • 2
  • 26
  • 42
0
votes
1 answer

Create a fungible resource using Scrypto ManifestBuilder.create_fungible_resource

I am struggling to get the .create_fungible_resource method on the ManifestBuilder working. I have the following: let manifest = ManifestBuilder::new() .lock_fee(FAUCET_COMPONENT, dec!("10")) .create_fungible_resource( OwnerRole::None, …
Fred Liebenberg
  • 101
  • 1
  • 5
0
votes
0 answers

How can I deploy a new Scrypto package to the Betanet using an API?

I want to deploy a new version of my Scrypto package to the Betanet but I also want to avoid the manual work doing it through the dashboard. Is there a way to do it through an API so I can automate this process easily? I looked through the…
-1
votes
0 answers

Scrypto: How to mint 10,000 NFTs with JSON metadata?

According to the doc https://docs-babylon.radixdlt.com/main/scrypto/examples/hello-nft.html , we instantiate / deploy NFTs via resim command line tool in Bash. What if I want to mint 10,000 NFTs? I suppose I can use NodeJs or Rust to read each NFT's…
Russo
  • 2,186
  • 2
  • 26
  • 42
-1
votes
2 answers

Radix: How to check token balance in Rust Scrypto test?

I am trying to write a Scrypto test to test my Radix Scrypto smart contract. in Scrypto 0.9.0, the "balance" method shown below has been removed from the Account Component. let manifest = ManifestBuilder::new() .call_method(compo_addr,…
Russo
  • 2,186
  • 2
  • 26
  • 42
-1
votes
1 answer

QUESTION: DIFFERENCE BETWEEN `function` AND `method`

All I know about the difference between them is in the image below. scrypto101 explanantion of function and method I am unable to pinpoint the difference between two of them with complete clarity. Especially, I am unable to see scrypto code and…